Merge pull request #994 from absolutelynothelix/ensure_glx_context_segfault
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user