Ver Fonte

Fix broken GLSL in sharing test

Thank you, Intel, for sticking to the spec.
Camilla Berglund há 9 anos atrás
pai
commit
1fc11c27e7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tests/sharing.c

+ 1 - 1
tests/sharing.c

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