mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-20 00:41:07 +00:00
Headless: Oops, call SDL_Init().
This commit is contained in:
parent
7db9dfb50b
commit
40f663664b
@ -72,6 +72,8 @@ void SDLHeadlessHost::LoadNativeAssets() {
|
||||
}
|
||||
|
||||
bool SDLHeadlessHost::InitGraphics(std::string *error_message, GraphicsContext **ctx) {
|
||||
SDL_Init(SDL_INIT_VIDEO);
|
||||
|
||||
// TODO
|
||||
//SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
|
||||
//SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user