fix warnings

This commit is contained in:
degasus
2013-01-11 21:24:59 +01:00
parent 8651b34e22
commit 2838077313
6 changed files with 15 additions and 12 deletions

View File

@ -114,13 +114,13 @@ void CreatePrograms()
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.");