(iOS) Check if g_view is not NULL before trying to perform this

function
This commit is contained in:
Twinaphex 2014-12-31 13:52:59 +01:00
parent 8aaa13dc6c
commit a1df3ef4a0

View File

@ -294,7 +294,8 @@ static void apple_gfx_ctx_swap_buffers(void *data)
#endif
#else
[g_view display];
if (g_view)
[g_view display];
#endif
g_fast_forward_skips = g_is_syncing ? 0 : 3;