From 9781f55963a87ab26aa950d9b085b699ad759b5d Mon Sep 17 00:00:00 2001 From: Chris Mosher Date: Fri, 6 Jan 2023 20:33:32 -0500 Subject: [PATCH] can do sdl resize on all platforms --- src/screenimage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/screenimage.cpp b/src/screenimage.cpp index 1a9c96e..a72b5e8 100644 --- a/src/screenimage.cpp +++ b/src/screenimage.cpp @@ -148,9 +148,7 @@ void ScreenImage::createSdlTexture() { throw ScreenException(); } -#ifdef __WXGTK__ SDL_SetWindowSize(this->window, SCRW, SCRH*ASPECT_RATIO); -#endif this->renderer = SDL_CreateRenderer(this->window, -1, 0); if (this->renderer == NULL) {