Fix broken GLSL in sharing test

Thank you, Intel, for sticking to the spec.
This commit is contained in:
Camilla Berglund 2016-09-21 18:11:18 +02:00
parent c4a8930909
commit 1fc11c27e7

View File

@ -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] =