1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

LibAccelGfx+WebContent: Add GPU painter support on macOS

With these changes it is now possible to create OpenGL context on macOS
and run GPU-painter. For now only QT client has a CLI param that turns
it on though.
This commit is contained in:
Aliaksandr Kalenik 2023-11-12 14:18:00 +01:00 committed by Alexander Kalenik
parent ffe304e88b
commit 61a2e59d87
5 changed files with 70 additions and 16 deletions

View file

@ -75,7 +75,7 @@ in vec2 vTextureCoord;
uniform sampler2D uSampler;
out vec4 fragColor;
void main() {
fragColor = texture2D(uSampler, vTextureCoord) * uColor;
fragColor = texture(uSampler, vTextureCoord) * uColor;
}
)";