projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glx: fix error code when there is no context bound
[mesa.git]
/
src
/
glx
/
glx_error.c
diff --git
a/src/glx/glx_error.c
b/src/glx/glx_error.c
index b3860db2e3745bb64f0be8999b6b1b90cd0cbfde..e098682dd75653d6f79133a40f6f3335af7f1a27 100644
(file)
--- 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);