mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-24 13:40:35 +00:00
(Android) Build fix
This commit is contained in:
parent
eb5bb55754
commit
acb4f63cfb
@ -124,9 +124,9 @@ static bool gfx_ctx_init(void)
|
||||
goto error;
|
||||
}
|
||||
|
||||
int var;
|
||||
int var = eglGetConfigAttrib(g_egl_dpy, config, EGL_NATIVE_VISUAL_ID, &format);
|
||||
|
||||
if (!var = eglGetConfigAttrib(g_egl_dpy, config, EGL_NATIVE_VISUAL_ID, &format))
|
||||
if (!var)
|
||||
{
|
||||
RARCH_ERR("eglGetConfigAttrib failed: %d.\n", var);
|
||||
goto error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user