Merge pull request #4622 from degasus/videosw
VideoSW: Fix GL ES shader.
This commit is contained in:
commit
c30216003e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue