[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51307] trunk/blender/source/gameengine/ GamePlayer/common/GPC_Canvas.h: Blenderplayer: Fixing a crash on startup when the graphics driver tried to use uninitialized memory .
Mitchell Stokes
mogurijin at gmail.com
Sun Oct 14 06:22:42 CEST 2012
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;
More information about the Bf-blender-cvs
mailing list