Browse Source

prevent a nasty gl/panda issue with buffers getting thrown off the card

Zachary Pavlov 15 years ago
parent
commit
fba184180e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/showbase/Transitions.py

+ 1 - 0
direct/src/showbase/Transitions.py

@@ -135,6 +135,7 @@ class Transitions:
         if gsg:
         if gsg:
             # If we're about to fade in from black, go ahead and
             # If we're about to fade in from black, go ahead and
             # preload all the textures etc.
             # preload all the textures etc.
+            base.graphicsEngine.renderFrame()
             render.prepareScene(gsg)
             render.prepareScene(gsg)
             render2d.prepareScene(gsg)
             render2d.prepareScene(gsg)