Revision: 49490
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49490
Author: jwilkins
Date: 2012-08-01 22:01:08 +0000 (Wed, 01 Aug 2012)
Log Message:
-----------
added gpuInitializeLighting/gpuShutdownLighting to blenderplayer
Modified Paths:
--------------
branches/soc-2012-swiss_cheese/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
Modified:
branches/soc-2012-swiss_cheese/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
===================================================================
---
branches/soc-2012-swiss_cheese/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
2012-08-01 22:00:36 UTC (rev 49489)
+++
branches/soc-2012-swiss_cheese/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
2012-08-01 22:01:08 UTC (rev 49490)
@@ -767,7 +767,9 @@
GPUindex *gindex = gpuNewIndex();
gpuImmediateIndex(gindex);
gpuImmediateMaxIndexCount(500000); // XXX: temporary!
-
+
+ gpuInitializeLighting();
+
// Create the system
if (GHOST_ISystem::createSystem() == GHOST_kSuccess)
{
@@ -1070,6 +1072,8 @@
printf("error: couldn't create a system.\n");
}
+ gpuShutdownLighting();
+
gpuDeleteIndex(gindex);
gpuImmediateIndex(NULL);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs