mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 14:53:39 +00:00
C89 compat issue
This commit is contained in:
parent
7ae238a0f1
commit
8749490e40
@ -155,12 +155,13 @@ static void zui_begin(zui_t *zui)
|
||||
{
|
||||
int dx, dy;
|
||||
const struct retro_keybind *binds[MAX_USERS];
|
||||
gl_t *gl = NULL;
|
||||
driver_t *driver = (driver_t*)driver_get_ptr();
|
||||
|
||||
if (!driver)
|
||||
return;
|
||||
|
||||
gl_t *gl = driver ? (gl_t*)driver->video_data : NULL;
|
||||
gl = driver ? (gl_t*)driver->video_data : NULL;
|
||||
|
||||
if (!gl)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user