mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
Merge pull request #994 from absolutelynothelix/ensure_glx_context_segfault
This commit is contained in:
commit
1926b6d231
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue