From fba184180e35ce0bd4cf92e29a9f18d711084bc2 Mon Sep 17 00:00:00 2001 From: Zachary Pavlov Date: Sat, 1 May 2010 00:40:51 +0000 Subject: [PATCH] prevent a nasty gl/panda issue with buffers getting thrown off the card --- direct/src/showbase/Transitions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/showbase/Transitions.py b/direct/src/showbase/Transitions.py index 8b140706a4..7e3103a0d0 100644 --- a/direct/src/showbase/Transitions.py +++ b/direct/src/showbase/Transitions.py @@ -135,6 +135,7 @@ class Transitions: if gsg: # If we're about to fade in from black, go ahead and # preload all the textures etc. + base.graphicsEngine.renderFrame() render.prepareScene(gsg) render2d.prepareScene(gsg)