mirror of https://github.com/kivy/kivy.git
screenmanager: fix transition bug due to flipped texture coordinates. closes #752
This commit is contained in:
parent
22927bef96
commit
eb947fc8b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue