summaryrefslogtreecommitdiffstats
path: root/src/glx/glx_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/glx_error.c')
-rw-r--r--src/glx/glx_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glx_error.c b/src/glx/glx_error.c
index b3860db2e37..e098682dd75 100644
--- a/src/glx/glx_error.c
+++ b/src/glx/glx_error.c
@@ -43,7 +43,7 @@ __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID,
xError error;
assert(glx_dpy);
- assert(gc);
+ assert(gc != &dummyContext);
LockDisplay(dpy);