summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r--src/video/win32_v.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index a802cdafa..1d9cd3e2b 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -1417,6 +1417,7 @@ bool VideoDriver_Win32OpenGL::AllocateBackingStore(int w, int h, bool force)
this->dirty_rect = {};
bool res = OpenGLBackend::Get()->Resize(w, h, force);
+ SwapBuffers(this->dc);
_screen.dst_ptr = this->GetVideoPointer();
return res;