OGL: update ubo workaround

This commit is contained in:
degasus
2013-10-08 14:34:42 +02:00
parent cc6c454898
commit 5de7ac4791
5 changed files with 35 additions and 38 deletions

View File

@ -324,7 +324,7 @@ int EncodeToRamFromTexture(u32 address,GLuint source_texture, bool bFromZBuffer,
};
texconv_shader.Bind();
glUniform4fv(texconv_shader.UniformLocations[C_COLORS], 2, params);
glUniform4fv(texconv_shader.UniformLocations[0], 2, params);
TargetRectangle scaledSource;
scaledSource.top = 0;