diff --git a/src/conio/sdl_con.c b/src/conio/sdl_con.c
index adebac52c707c347550d991a481126515fd1124b..254f817c0d960dde86fe9680081b8b4e82fa7099 100644
--- a/src/conio/sdl_con.c
+++ b/src/conio/sdl_con.c
@@ -1726,6 +1726,8 @@ int sdl_video_event_thread(void *data)
 										sdl.PeepEvents(&ev, 1, SDL_ADDEVENT, 0xffffffff);
 									}
 								}
+								new_scaling = -1;
+								old_scaling = vstat.scaling;
 								setup_surfaces();
 								sdl_ufunc_retval=0;
 								sdl.SemPost(sdl_ufunc_ret);