mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-09 20:41:19 +00:00
Merge pull request #3535 from bparker06/thread_toggle
context must be current, not released, to use GL
This commit is contained in:
commit
07c1dd02b6
@ -203,9 +203,10 @@ static void gl_raster_font_free_font(void *data)
|
||||
font->font_driver->free(font->font_data);
|
||||
|
||||
if (settings->video.threaded)
|
||||
video_context_driver_make_current(false);
|
||||
video_context_driver_make_current(true);
|
||||
|
||||
glDeleteTextures(1, &font->tex);
|
||||
|
||||
free(font);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user