Stefan Dirsch
c9d6369808
OBS-URL: https://build.opensuse.org/request/show/1093519 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1214
13 lines
405 B
Diff
13 lines
405 B
Diff
--- a/src/glx/create_context.c
|
|
+++ b/src/glx/create_context.c
|
|
@@ -115,6 +115,9 @@ glXCreateContextAttribsARB(Display *dpy,
|
|
#endif
|
|
|
|
if (gc == NULL) {
|
|
+ /* increment dpy->request in order to give a unique serial number to the
|
|
+ * error */
|
|
+ XNoOp(dpy);
|
|
/* -1 isn't a legal XID, which is sort of the point, we've failed
|
|
* before we even got to XID allocation.
|
|
*/
|