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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-18 20:28:39 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-18 20:28:39 +0400
commitfeeab1ad53f1b7cd4496fb8e7f173f21e460aac0 (patch)
tree3c9142be45eaf2b7d85b8de2b88cdf4e2243769f /source/blender/windowmanager/intern/wm.c
parentfb2b3155f72d3bc6d2025d332cb843befea78d75 (diff)
Fix #34997: when starting the game engine in one window and switching to a second
window, the game would stop drawing in the first and mess up the OpenGL state of the second. Also fixes glPushAttrib/glPopAttrib getting out of sync in some cases.
Diffstat (limited to 'source/blender/windowmanager/intern/wm.c')
-rw-r--r--source/blender/windowmanager/intern/wm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c
index f7b7aa87cf8..0e1e41b0149 100644
--- a/source/blender/windowmanager/intern/wm.c
+++ b/source/blender/windowmanager/intern/wm.c
@@ -384,7 +384,7 @@ void wm_add_default(bContext *C)
wm->winactive = win;
wm->file_saved = 1;
- wm_window_make_drawable(C, win);
+ wm_window_make_drawable(wm, win);
}