mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Fix an issue where TextureConverter.cpp was creating a renderbuffer with the wrong format. Also a few minor shader issues where they were using integers in place of floats.
This commit is contained in:
parent
e0a5f7842e
commit
3e697b363e
2 changed files with 4 additions and 4 deletions
|
@ -631,8 +631,8 @@ void Renderer::Init()
|
|||
"ATTRIN vec3 color0;\n"
|
||||
"VARYOUT vec4 c;\n"
|
||||
"void main(void) {\n"
|
||||
" gl_Position = vec4(rawpos,0,1);\n"
|
||||
" c = vec4(color0, 1.0);\n"
|
||||
" gl_Position = vec4(rawpos, 0.0f, 1.0f);\n"
|
||||
" c = vec4(color0, 1.0f);\n"
|
||||
"}\n",
|
||||
"VARYIN vec4 c;\n"
|
||||
"COLOROUT(ocol0)\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue