screenmanager: fix transition bug due to flipped texture coordinates. closes #752

This commit is contained in:
Mathieu Virbel 2012-10-29 01:33:16 +01:00
parent 22927bef96
commit eb947fc8b8
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ class ShaderTransition(TransitionBase):
with self.render_ctx:
BindTexture(texture=self.fbo_out.texture, index=1)
BindTexture(texture=self.fbo_in.texture, index=2)
Rectangle(size=(1, 1))
Rectangle(size=(1, -1), pos=(0, 1))
self.render_ctx['projection_mat'] = Matrix().\
view_clip(0, 1, 0, 1, 0, 1, 0)
self.render_ctx['tex_out'] = 1