VideoSW: Fix GL ES shader.

This commit is contained in:
degasus 2017-01-07 12:32:15 +01:00
parent 82e003ebb6
commit f12460d1f4
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ void SWOGLWindow::Prepare()
"out vec4 ColorOut;\n" "out vec4 ColorOut;\n"
"uniform sampler2D Texture;\n" "uniform sampler2D Texture;\n"
"void main() {\n" "void main() {\n"
" ColorOut = texture2D(Texture, TexCoord);\n" " ColorOut = texture(Texture, TexCoord);\n"
"}\n"; "}\n";
std::string vertex_shader = "out vec2 TexCoord;\n" std::string vertex_shader = "out vec2 TexCoord;\n"