emscripten: force fullscreen as off on init

This commit is contained in:
Sebastian Krzyszkowiak 2018-12-22 02:21:46 +01:00
parent 116d190876
commit dbd047c64e
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -113,6 +113,10 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
game->config.debug.livereload = strtol(GetConfigOptionDefault(game, "debug", "livereload", "1"), NULL, 10);
game->config.debug.autopause = strtol(GetConfigOptionDefault(game, "debug", "autopause", "1"), NULL, 10);
#ifdef __EMSCRIPTEN__
game->config.fullscreen = false;
#endif
game->_priv.showconsole = game->config.debug.enabled;
game->_priv.showtimeline = false;