mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Fix broken GLSL in sharing test
Thank you, Intel, for sticking to the spec.
This commit is contained in:
@@ -52,7 +52,7 @@ static const char* fragment_shader_text =
|
||||
"varying vec2 texcoord;\n"
|
||||
"void main()\n"
|
||||
"{\n"
|
||||
" gl_FragColor = vec4(color * tex2D(texture, texcoord).rgb, 1.0);\n"
|
||||
" gl_FragColor = vec4(color * texture2D(texture, texcoord).rgb, 1.0);\n"
|
||||
"}\n";
|
||||
|
||||
static const vec2 vertices[4] =
|
||||
|
||||
Reference in New Issue
Block a user