summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index dbf634934e..0d3e8b9887 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -583,6 +583,8 @@ static void set_video_mode(int width, int height, int bpp, uint32_t sdlflags)
priv->surface = newsurface;
priv->dstwidth = width;
priv->dstheight = height;
+ vo_dwidth = width;
+ vo_dheight = height;
setup_surfaces();
}