fix "some" pp shaders ...

This commit is contained in:
degasus
2013-03-07 19:51:57 +01:00
parent ebb34ced91
commit 8b232c7a4d
21 changed files with 305 additions and 300 deletions

View File

@ -116,7 +116,7 @@ void BlitToScreen()
glBindVertexArray(s_vao);
s_shader.Bind();
glUniform2f(s_uniform_resolution, (float)s_width, (float)s_height);
glUniform4f(s_uniform_resolution, (float)s_width, (float)s_height, 1.0f/(float)s_width, 1.0f/(float)s_height);
glActiveTexture(GL_TEXTURE0+9);
glBindTexture(GL_TEXTURE_2D, s_texture);