Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2012-10-14 08:22:38 +0400
committerMitchell Stokes <mogurijin@gmail.com>2012-10-14 08:22:38 +0400
commit64b187a92838004d967f716f8ede7526d9e6608f (patch)
treebce4aacae1a88c8338ad5360cf6aae284ad357e8 /source
parent68d68e13b65a38d37768114e2b43964f26f96983 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/gameengine/GamePlayer/common/GPC_Canvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_Canvas.h b/source/gameengine/GamePlayer/common/GPC_Canvas.h
index a995dcfaa86..ec5375c0e13 100644
--- a/source/gameengine/GamePlayer/common/GPC_Canvas.h
+++ b/source/gameengine/GamePlayer/common/GPC_Canvas.h
@@ -90,7 +90,7 @@ protected:
* relative to the context */
RAS_Rect m_displayarea;
- int *m_viewport;
+ int m_viewport[4];
/** Storage for the banners to display. */
TBannerMap m_banners;