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:
Ryan Houdek
2013-07-25 18:39:00 +00:00
parent e0a5f7842e
commit 3e697b363e
2 changed files with 4 additions and 4 deletions

View File

@ -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"