Buildfix for Linux

This commit is contained in:
LibretroAdmin 2022-10-28 22:33:28 +02:00
parent 174b01f7d9
commit f6866fe6ce

View File

@ -180,7 +180,7 @@ static void gfx_ctx_x_destroy_resources(gfx_ctx_x_data_t *x)
glXMakeContextCurrent(g_x11_dpy, None, None, NULL);
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)
glXDestroyContext(g_x11_dpy, x->hw_ctx);