mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
Buildfix for Linux
This commit is contained in:
parent
174b01f7d9
commit
f6866fe6ce
@ -180,7 +180,7 @@ static void gfx_ctx_x_destroy_resources(gfx_ctx_x_data_t *x)
|
|||||||
glXMakeContextCurrent(g_x11_dpy, None, None, NULL);
|
glXMakeContextCurrent(g_x11_dpy, None, None, NULL);
|
||||||
|
|
||||||
video_st_flags = video_driver_get_st_flags();
|
video_st_flags = video_driver_get_st_flags();
|
||||||
if (!(video_st->flags & VIDEO_FLAG_CACHE_CONTEXT))
|
if (!(video_st_flags & VIDEO_FLAG_CACHE_CONTEXT))
|
||||||
{
|
{
|
||||||
if (x->hw_ctx)
|
if (x->hw_ctx)
|
||||||
glXDestroyContext(g_x11_dpy, x->hw_ctx);
|
glXDestroyContext(g_x11_dpy, x->hw_ctx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user