Merge pull request #4622 from degasus/videosw

VideoSW: Fix GL ES shader.
This commit is contained in:
flacs 2017-01-08 17:03:57 +00:00 committed by GitHub
commit c30216003e
1 changed files with 1 additions and 1 deletions

View File

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