can do sdl resize on all platforms
This commit is contained in:
parent
bd4ded69d8
commit
9781f55963
|
@ -148,9 +148,7 @@ void ScreenImage::createSdlTexture() {
|
||||||
throw ScreenException();
|
throw ScreenException();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WXGTK__
|
|
||||||
SDL_SetWindowSize(this->window, SCRW, SCRH*ASPECT_RATIO);
|
SDL_SetWindowSize(this->window, SCRW, SCRH*ASPECT_RATIO);
|
||||||
#endif
|
|
||||||
|
|
||||||
this->renderer = SDL_CreateRenderer(this->window, -1, 0);
|
this->renderer = SDL_CreateRenderer(this->window, -1, 0);
|
||||||
if (this->renderer == NULL) {
|
if (this->renderer == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue