diff --git a/gfx/drivers_context/opendingux_fbdev_ctx.c b/gfx/drivers_context/opendingux_fbdev_ctx.c index 405e0d7b28..ac86af6c34 100644 --- a/gfx/drivers_context/opendingux_fbdev_ctx.c +++ b/gfx/drivers_context/opendingux_fbdev_ctx.c @@ -190,7 +190,9 @@ static bool gfx_ctx_opendingux_set_video_mode(void *data, return true; error: +#ifdef HAVE_EGL RARCH_ERR("[opendingux fbdev]: EGL error: %d.\n", eglGetError()); +#endif gfx_ctx_opendingux_destroy(data); return false; }