mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
fix warnings
This commit is contained in:
parent
8651b34e22
commit
2838077313
6 changed files with 15 additions and 12 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue