Fix assert when loading file with multiple windows opened
[blender.git] / source / blender / windowmanager / wm_window.h
index 385d61217adf5011741ff6d013570b2175def6e7..4fd5d66fb4374be7587684a020af44c5dc244502 100644 (file)
@@ -57,6 +57,7 @@ void          wm_window_ghostwindows_remove_invalid(bContext *C, wmWindowManager *wm);
 void           wm_window_process_events        (const bContext *C);
 void           wm_window_process_events_nosleep(void);
 
 void           wm_window_process_events        (const bContext *C);
 void           wm_window_process_events_nosleep(void);
 
+void           wm_window_clear_drawable(wmWindowManager *wm);
 void           wm_window_make_drawable(wmWindowManager *wm, wmWindow *win);
 void           wm_window_reset_drawable(void);
 
 void           wm_window_make_drawable(wmWindowManager *wm, wmWindow *win);
 void           wm_window_reset_drawable(void);