Fix for #1777:
authorSimon Clitherow <aphex@nildram.co.uk>
Thu, 11 Nov 2004 20:24:43 +0000 (20:24 +0000)
committerSimon Clitherow <aphex@nildram.co.uk>
Thu, 11 Nov 2004 20:24:43 +0000 (20:24 +0000)
  -  Flagged screens as 'dirty' to be redrawn at next swapbuffers.

source/blender/src/ghostwinlay.c

index b6e49df47b57f9a6d63dae55287b7c25e6a92975..c1ed4134ac2b49425c2986fcc6b477dbf9839dc8 100644 (file)
@@ -719,6 +719,9 @@ void window_lower(Window *win) {
 
 void window_raise(Window *win) {
        GHOST_SetWindowOrder(win->ghostwin, GHOST_kWindowOrderTop);
+#ifdef _WIN32
+       markdirty_all(); /* to avoid redraw errors in fullscreen mode (aphex) */
+#endif
 }
 
 #ifdef _WIN32  //FULLSCREEN