mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
SDL: Fix compile error when not using FBDEV.
This commit is contained in:
1 parent
c7c45f0aca
commit
ff9911deb5
1 file changed
+2
-2
@@ -167,7 +167,7 @@ EGLConfig EGL_FindConfig(int *contextVersion) {
|
||||
return best;
|
||||
}
|
||||
|
||||
int8_t EGL_Init() {
|
||||
int8_t EGL_Init(SDL_Window *window) {
|
||||
int contextVersion = 0;
|
||||
EGLConfig eglConfig = EGL_FindConfig(&contextVersion);
|
||||
if (!eglConfig) {
|
||||
@@ -316,7 +316,7 @@ int SDLGLGraphicsContext::Init(SDL_Window *&window, int x, int y, int mode, std:
|
||||
SDL_ShowWindow(window);
|
||||
|
||||
#ifdef USING_EGL
|
||||
if (EGL_Init() != 0) {
|
||||
if (EGL_Init(window) != 0) {
|
||||
printf("EGL_Init() failed\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user