VideoSW: Fix GL ES shader.
This commit is contained in:
parent
82e003ebb6
commit
f12460d1f4
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue