can do sdl resize on all platforms

This commit is contained in:
Chris Mosher 2023-01-06 20:33:32 -05:00
parent bd4ded69d8
commit 9781f55963
1 changed files with 0 additions and 2 deletions

View File

@ -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) {