mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +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();
|
||||
LinkProgram(
|
||||
&*_imageProgram,
|
||||
_frameVertexShader,
|
||||
VertexShader({
|
||||
VertexViewportTransform(),
|
||||
VertexPassTextureCoord(),
|
||||
}),
|
||||
FragmentShader({
|
||||
FragmentSampleARGB32Texture(),
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue