Move CheckGLExtensions to InitGraphics from EmuScreen, trying to fix #2900

This commit is contained in:
Henrik Rydgård 2013-07-27 11:45:40 +02:00
parent e212f2d91d
commit 67adad6cf0
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,6 @@ EmuScreen::EmuScreen(const std::string &filename)
}
void EmuScreen::bootGame(const std::string &filename) {
CheckGLExtensions();
std::string fileToStart = filename;
// This is probably where we should start up the emulated PSP.
INFO_LOG(BOOT, "Starting up hardware.");

View File

@ -379,11 +379,12 @@ void NativeInit(int argc, const char *argv[],
}
#endif
}
screenManager->switchScreen(new LogoScreen(boot_filename));
}
void NativeInitGraphics() {
CheckGLExtensions();
gl_lost_manager_init();
ui_draw2d.SetAtlas(&ui_atlas);