Merge pull request #994 from absolutelynothelix/ensure_glx_context_segfault

This commit is contained in:
Yuxuan Shui 2023-01-13 16:55:41 +00:00 committed by GitHub
commit 1926b6d231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
/**