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:
parent
ffe304e88b
commit
61a2e59d87
5 changed files with 70 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
)";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue