Merge pull request #2561 from Sonicadvance1/gles_fix

Fix OpenGL ES shader compilation.
This commit is contained in:
Ryan Houdek 2015-06-07 23:12:57 -04:00
commit daf9492072
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
" gl_Position = vec4(((rawpos + 0.5) / vec2(640.0, 528.0) * 2.0 - 1.0) * vec2(1.0, -1.0), 0.0, 1.0);\n"
" gl_PointSize = %d.0 / 640.0;\n"
" v_c = color0.bgra;\n"
" v_z = (color1 & 0xFFFFFF) / 16777216.0;\n"
" v_z = float(color1 & 0xFFFFFF) / 16777216.0;\n"
"}\n", m_targetWidth).c_str(),
StringFromFormat(