diff --git a/sim_video.c b/sim_video.c index 3f519443..1d3dafd2 100644 --- a/sim_video.c +++ b/sim_video.c @@ -1812,10 +1812,12 @@ if (!vptr->vid_texture) { vptr->vid_format = SDL_AllocFormat (SDL_PIXELFORMAT_ARGB8888); +#ifdef SDL_WINDOW_RESIZABLE if (vptr->vid_flags & SIM_VID_RESIZABLE) { SDL_SetWindowResizable(vptr->vid_window, SDL_TRUE); SDL_RenderSetIntegerScale(vptr->vid_renderer, SDL_TRUE); } +#endif SDL_StopTextInput ();