mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Move CheckGLExtensions to InitGraphics from EmuScreen, trying to fix #2900
This commit is contained in:
parent
e212f2d91d
commit
67adad6cf0
@ -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.");
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user