[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37517] branches/soc-2011-cucumber/source/ gameengine/GamePlayer/ghost/GPG_ghost.cpp: Disable VBOs in the Blenderplayer.

Daniel Stokes kupomail at gmail.com
Wed Jun 15 19:41:06 CEST 2011


Revision: 37517
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37517
Author:   kupoman
Date:     2011-06-15 17:41:06 +0000 (Wed, 15 Jun 2011)
Log Message:
-----------
Disable VBOs in the Blenderplayer.
Fixes bugs 26710, 26647, 20507

Modified Paths:
--------------
    branches/soc-2011-cucumber/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp

Modified: branches/soc-2011-cucumber/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
===================================================================
--- branches/soc-2011-cucumber/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp	2011-06-15 17:38:33 UTC (rev 37516)
+++ branches/soc-2011-cucumber/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp	2011-06-15 17:41:06 UTC (rev 37517)
@@ -405,6 +405,7 @@
 	
 	initglobals();
 
+	U.gameflags |= USER_DISABLE_VBO;
 	// We load our own G.main, so free the one that initglobals() gives us
 	free_main(G.main);
 




More information about the Bf-blender-cvs mailing list