mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(GLX) Simplification
This commit is contained in:
parent
7c9f357c1b
commit
21124ec80a
@ -593,9 +593,7 @@ static void gfx_ctx_glx_bind_hw_render(void *data, bool enable)
|
||||
|
||||
glx->g_use_hw_ctx = enable;
|
||||
|
||||
if (!g_x11_dpy)
|
||||
return;
|
||||
if (!glx->g_glx_win)
|
||||
if (!g_x11_dpy || !glx->g_glx_win)
|
||||
return;
|
||||
|
||||
glXMakeContextCurrent(g_x11_dpy, glx->g_glx_win,
|
||||
|
Loading…
x
Reference in New Issue
Block a user