mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(GL) Make gl_alive more robust
This commit is contained in:
parent
82780de57a
commit
d029362dd7
@ -297,7 +297,6 @@ static void handle_touch_event(NSArray* touches)
|
||||
- (void)unloadingCore
|
||||
{
|
||||
[self showPauseMenu:self];
|
||||
|
||||
btpad_set_inquiry_state(true);
|
||||
}
|
||||
|
||||
|
3
gfx/gl.c
3
gfx/gl.c
@ -2441,12 +2441,11 @@ static bool gl_alive(void *data)
|
||||
{
|
||||
bool quit = false, resize = false;
|
||||
gl_t *gl = (gl_t*)data;
|
||||
gfx_ctx_driver_t *ctx_driver = (gfx_ctx_driver_t*)gl->ctx_driver;
|
||||
|
||||
if (!gl)
|
||||
return false;
|
||||
|
||||
ctx_driver->check_window(gl, &quit,
|
||||
gl->ctx_driver->check_window(gl, &quit,
|
||||
&resize, &gl->win_width, &gl->win_height,
|
||||
g_extern.frame_count);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user