mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Fix broken GLSL in sharing test
Thank you, Intel, for sticking to the spec.
This commit is contained in:
parent
c4a8930909
commit
1fc11c27e7
@ -52,7 +52,7 @@ static const char* fragment_shader_text =
|
|||||||
"varying vec2 texcoord;\n"
|
"varying vec2 texcoord;\n"
|
||||||
"void main()\n"
|
"void main()\n"
|
||||||
"{\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";
|
"}\n";
|
||||||
|
|
||||||
static const vec2 vertices[4] =
|
static const vec2 vertices[4] =
|
||||||
|
Loading…
Reference in New Issue
Block a user