summaryrefslogtreecommitdiff
path: root/src/video/sdl2_opengl_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/sdl2_opengl_v.cpp')
-rw-r--r--src/video/sdl2_opengl_v.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/sdl2_opengl_v.cpp b/src/video/sdl2_opengl_v.cpp
index 13ee082ba..86dc104dd 100644
--- a/src/video/sdl2_opengl_v.cpp
+++ b/src/video/sdl2_opengl_v.cpp
@@ -131,6 +131,7 @@ bool VideoDriver_SDL_OpenGL::AllocateBackingStore(int w, int h, bool force)
MemSetT(&this->dirty_rect, 0);
bool res = OpenGLBackend::Get()->Resize(w, h, force);
+ SDL_GL_SwapWindow(this->sdl_window);
_screen.dst_ptr = this->GetVideoPointer();
_cur_palette.first_dirty = 0;