diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-10-14 08:22:38 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-10-14 08:22:38 +0400 |
commit | 64b187a92838004d967f716f8ede7526d9e6608f (patch) | |
tree | bce4aacae1a88c8338ad5360cf6aae284ad357e8 | |
parent | 68d68e13b65a38d37768114e2b43964f26f96983 (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.
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_Canvas.h | 2 |
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; |