(Android) Need to know return val

This commit is contained in:
twinaphex 2012-11-09 20:46:58 +01:00
parent 9d2ca33b5b
commit eb5bb55754

View File

@ -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;
} }