glsl: remove usage of old texture2D* function

This commit is contained in:
degasus
2013-01-19 11:07:06 +01:00
parent d73c950623
commit 8a6f747408
6 changed files with 10 additions and 10 deletions

View File

@ -146,7 +146,7 @@ static const char *s_fragmentShaderSrc =
"in vec2 uv0;\n"
"out vec4 ocol0;\n"
"void main(void) {\n"
" ocol0 = texture2D(samp8,uv0) * color;\n"
" ocol0 = texture(samp8,uv0) * color;\n"
"}\n";