From eb947fc8b8bb4657313c6e5cbdeeb793e08f6be7 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Mon, 29 Oct 2012 01:33:16 +0100 Subject: [PATCH] screenmanager: fix transition bug due to flipped texture coordinates. closes #752 --- kivy/uix/screenmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/uix/screenmanager.py b/kivy/uix/screenmanager.py index 724ddb79a..5ffea3cdd 100644 --- a/kivy/uix/screenmanager.py +++ b/kivy/uix/screenmanager.py @@ -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