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_draw.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_draw.c')
-rw-r--r--source/blender/windowmanager/intern/wm_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c
index 396c827fe25..005d02647a4 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -828,7 +828,7 @@ void wm_draw_update(bContext *C)
CTX_wm_window_set(C, win);
/* sets context window+screen */
- wm_window_make_drawable(C, win);
+ wm_window_make_drawable(wm, win);
/* notifiers for screen redraw */
if (win->screen->do_refresh)