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:
authorRob Haarsma <phaseIV@zonnet.nl>2003-05-11 20:48:55 +0400
committerRob Haarsma <phaseIV@zonnet.nl>2003-05-11 20:48:55 +0400
commitba3cab450b1313036379aa4b2f88783c087858f1 (patch)
treebacf566ec4a7136d0d63fb9cac72fde031800d5e /source/blender/src/ghostwinlay.c
parentfe05ca64f2209ff6025f2eadf2e129d8a103a95f (diff)
(win32) you can now safely cancel the avicodec dialog
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r--source/blender/src/ghostwinlay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c
index 0345f77cf28..8298d6b58b0 100644
--- a/source/blender/src/ghostwinlay.c
+++ b/source/blender/src/ghostwinlay.c
@@ -574,6 +574,10 @@ void window_raise(Window *win) {
#ifdef _WIN32 //FULLSCREEN
void window_toggle_fullscreen(Window *win, int fullscreen) {
+ /* these two lines make sure front and backbuffer are equal. for swapbuffers */
+ markdirty_all();
+ screen_swapbuffers();
+
if(fullscreen)
GHOST_SetWindowState(win->ghostwin, GHOST_kWindowStateFullScreen);
else