mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-02-19 21:31:19 +00:00
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…
x
Reference in New Issue
Block a user