Updated init call for game viewer SDL to match GL.

This commit is contained in:
mjbudd77 2020-06-30 20:04:17 -04:00
parent d38f1b0c1b
commit 104f7c465e
2 changed files with 2 additions and 4 deletions

View File

@ -37,12 +37,10 @@ gameViewSDL_t::~gameViewSDL_t(void)
}
int gameViewSDL_t::init( double devPixRatioIn )
int gameViewSDL_t::init(void)
{
WId windowHandle;
devPixRatio = devPixRatioIn;
if (SDL_InitSubSystem(SDL_INIT_VIDEO) != 0)
{
printf("[SDL] Failed to initialize video subsystem.\n");

View File

@ -16,7 +16,7 @@ class gameViewSDL_t : public QWidget
gameViewSDL_t(QWidget *parent = 0);
~gameViewSDL_t(void);
int init(double devPixRatioIn = 1.0);
int init(void);
void reset(void);
void cleanup(void);