mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-13 14:21:08 +00:00
Avoid crash in gl_frame
This commit is contained in:
parent
9e186b4587
commit
254d2d1fff
@ -1656,6 +1656,9 @@ static bool gl_frame(void *data, const void *frame,
|
||||
rarch_perf_init(&frame_run, "frame_run");
|
||||
retro_perf_start(&frame_run);
|
||||
|
||||
if (!gl)
|
||||
return false;
|
||||
|
||||
video_driver_get_size(&width, &height);
|
||||
|
||||
context_bind_hw_render(gl, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user