Update SDL_vitagles_pvr.c
This was broken unintentionally during #6545.
This commit is contained in:
@@ -40,7 +40,8 @@ int VITA_GLES_LoadLibrary(_THIS, const char *path)
|
|||||||
char *default_path = "app0:module";
|
char *default_path = "app0:module";
|
||||||
char target_path[MAX_PATH];
|
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) {
|
if (override != NULL) {
|
||||||
default_path = override;
|
default_path = override;
|
||||||
}
|
}
|
||||||
@@ -61,9 +62,9 @@ int VITA_GLES_LoadLibrary(_THIS, const char *path)
|
|||||||
SDL_snprintf(hint.szWindowSystem, MAX_PATH, "%s/%s", default_path, "libpvrPSP2_WSEGL.suprx");
|
SDL_snprintf(hint.szWindowSystem, MAX_PATH, "%s/%s", default_path, "libpvrPSP2_WSEGL.suprx");
|
||||||
|
|
||||||
PVRSRVCreateVirtualAppHint(&hint);
|
PVRSRVCreateVirtualAppHint(&hint);
|
||||||
}
|
}
|
||||||
|
|
||||||
return SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType)0, 0);
|
return SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType)0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_GLContext
|
SDL_GLContext
|
||||||
|
|||||||
Reference in New Issue
Block a user