mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-07-09 08:00:43 +00:00
Update SDL_vitagles_pvr.c
This was broken unintentionally during #6545.(cherry picked from commit 9211c0b639ad32865efa4980d07fc24f3f4a1577)
This commit is contained in:
parent
a44b646105
commit
eabd88ed28
|
@ -42,7 +42,8 @@ int VITA_GLES_LoadLibrary(_THIS, const char *path)
|
|||
char *default_path = "app0:module";
|
||||
char target_path[MAX_PATH];
|
||||
|
||||
if (skip_init == NULL) // we don't care about actual value {
|
||||
if (skip_init == NULL) { // we don't care about actual value
|
||||
|
||||
if (override != NULL) {
|
||||
default_path = override;
|
||||
}
|
||||
|
@ -63,9 +64,9 @@ int VITA_GLES_LoadLibrary(_THIS, const char *path)
|
|||
SDL_snprintf(hint.szWindowSystem, MAX_PATH, "%s/%s", default_path, "libpvrPSP2_WSEGL.suprx");
|
||||
|
||||
PVRSRVCreateVirtualAppHint(&hint);
|
||||
}
|
||||
}
|
||||
|
||||
return SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType)0, 0);
|
||||
return SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType)0, 0);
|
||||
}
|
||||
|
||||
SDL_GLContext
|
||||
|
|
Loading…
Reference in a new issue