opengl: fix segfault in ensure_glx_context

This commit is contained in:
Maxim Solovyov 2023-01-11 05:23:02 +03:00
parent 60ac2b64db
commit 74ab307626
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ static inline bool ensure_glx_context(session_t *ps) {
if (!glx_has_context(ps))
glx_init(ps, false);
return ps->psglx->context;
return glx_has_context(ps);
}
/**