mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
fix
This commit is contained in:
parent
e5654ac385
commit
7c3655ba5d
@ -688,11 +688,11 @@ static gfx_ctx_proc_t gfx_ctx_glx_get_proc_address(const char *symbol)
|
||||
|
||||
static void gfx_ctx_glx_make_current_context(void *data)
|
||||
{
|
||||
gfx_ctx_glx_data_t *glx = (gfx_ctx_glx_data_t*)data;
|
||||
gfx_ctx_glx_data_t *glx = (gfx_ctx_glx_data_t*)driver.video_context_data;
|
||||
|
||||
if (glx)
|
||||
glXMakeContextCurrent(glx->g_dpy, glx->g_glx_win,
|
||||
glx->g_glx_win, glx->g_hw_ctx);
|
||||
glx->g_glx_win, glx->g_use_hw_ctx ? glx->g_hw_ctx : glx_g_ctx);
|
||||
}
|
||||
|
||||
static bool gfx_ctx_glx_bind_api(void *data, enum gfx_ctx_api api,
|
||||
|
Loading…
x
Reference in New Issue
Block a user