mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(Android) Need to know return val
This commit is contained in:
parent
9d2ca33b5b
commit
eb5bb55754
@ -124,9 +124,11 @@ static bool gfx_ctx_init(void)
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!eglGetConfigAttrib(g_egl_dpy, config, EGL_NATIVE_VISUAL_ID, &format))
|
int var;
|
||||||
|
|
||||||
|
if (!var = eglGetConfigAttrib(g_egl_dpy, config, EGL_NATIVE_VISUAL_ID, &format))
|
||||||
{
|
{
|
||||||
RARCH_ERR("eglGetConfigAttrib failed.\n");
|
RARCH_ERR("eglGetConfigAttrib failed: %d.\n", var);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user