diff --git a/src_c/display.c b/src_c/display.c index 32f6b8c4d8..279c0ab034 100644 --- a/src_c/display.c +++ b/src_c/display.c @@ -874,6 +874,9 @@ pg_set_mode(PyObject *self, PyObject *arg, PyObject *kwds) h = 0; } + h_actual = h; + w_actual = w; + if (!SDL_WasInit(SDL_INIT_VIDEO)) { /* note SDL works special like this too */ if (!pg_display_init(NULL, NULL))