diff options
author | Alexander Kuznetsov <kuzsasha@gmail.com> | 2013-05-26 01:59:34 +0400 |
---|---|---|
committer | Alexander Kuznetsov <kuzsasha@gmail.com> | 2013-05-26 01:59:34 +0400 |
commit | b9817cd20767fa3ba61f80ef725fb42d6f3dd48f (patch) | |
tree | ae946c092e4bfc0f4baad2bce32d932d9fd90807 /source | |
parent | b7c36b95116bfcf4501d786ca075c3f7941d998c (diff) |
Live resize on Windows. Based on Ton's patch for mac.
Removing old resize stuff.
Windows has resize lag, which creates black gap with openGL. Still looking to fix it.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 282e14cc5fe..b66e7f3c8cb 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -901,8 +901,8 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr WM_event_add_notifier(C, NC_SCREEN | NA_EDITED, NULL); WM_event_add_notifier(C, NC_WINDOW | NA_EDITED, NULL); -#if defined(__APPLE__) - /* OSX doesn't return to the mainloop while resize */ +#if defined(__APPLE__) || defined(WIN32) + /* OSX and Win32 don't return to the mainloop while resize */ wm_event_do_handlers(C); wm_event_do_notifiers(C); wm_draw_update(C); |