Revision: 51307
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51307
Author: moguri
Date: 2012-10-14 04:22:38 +0000 (Sun, 14 Oct 2012)
Log Message:
-----------
Blenderplayer: Fixing a crash on startup when the graphics driver tried to use
uninitialized memory. I had fixed this previously in Swiss, but it looks like I
missed grabbing the fix when bringing the GetViewPort() changes into trunk.
Modified Paths:
--------------
trunk/blender/source/gameengine/GamePlayer/common/GPC_Canvas.h
Modified: trunk/blender/source/gameengine/GamePlayer/common/GPC_Canvas.h
===================================================================
--- trunk/blender/source/gameengine/GamePlayer/common/GPC_Canvas.h
2012-10-14 04:11:34 UTC (rev 51306)
+++ trunk/blender/source/gameengine/GamePlayer/common/GPC_Canvas.h
2012-10-14 04:22:38 UTC (rev 51307)
@@ -90,7 +90,7 @@
* relative to the context */
RAS_Rect m_displayarea;
- int *m_viewport;
+ int m_viewport[4];
/** Storage for the banners to display. */
TBannerMap m_banners;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs