fix warnings
This commit is contained in:
1 parent
8651b34e22
commit
2838077313
6 files changed
+15
-12
No files matched your search
@@ -538,13 +538,13 @@ TextureCache::TextureCache()
|
||||
|
||||
const char *VProgram =
|
||||
"#version 130\n"
|
||||
"in vec2 vposition;\n"
|
||||
"in vec2 rawpos;\n"
|
||||
"in vec2 texture0;\n"
|
||||
"out vec2 uv0;\n"
|
||||
"void main()\n"
|
||||
"{\n"
|
||||
" uv0 = texture0;\n"
|
||||
" gl_Position = vec4(vposition,0,1);\n"
|
||||
" gl_Position = vec4(rawpos,0,1);\n"
|
||||
"}\n";
|
||||
if (!VertexShaderCache::CompileVertexShader(s_vProgram, VProgram))
|
||||
ERROR_LOG(VIDEO, "Failed to create texture converter vertex program.");
|
||||
|
||||
Reference in new issue
Block a user