mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix paint-image vertex shader on macOS.
This commit is contained in:
parent
acce2a217d
commit
e8dd969e78
1 changed files with 4 additions and 1 deletions
|
@ -331,7 +331,10 @@ void Viewport::RendererGL::init(
|
||||||
_imageProgram.emplace();
|
_imageProgram.emplace();
|
||||||
LinkProgram(
|
LinkProgram(
|
||||||
&*_imageProgram,
|
&*_imageProgram,
|
||||||
_frameVertexShader,
|
VertexShader({
|
||||||
|
VertexViewportTransform(),
|
||||||
|
VertexPassTextureCoord(),
|
||||||
|
}),
|
||||||
FragmentShader({
|
FragmentShader({
|
||||||
FragmentSampleARGB32Texture(),
|
FragmentSampleARGB32Texture(),
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Reference in a new issue