diff --git a/src/glx/create_context.c b/src/glx/create_context.c index e3a513f58f6..7e1cec98c64 100644 --- a/src/glx/create_context.c +++ b/src/glx/create_context.c @@ -146,6 +146,9 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, * somehow on the client side. clean up the server resource and panic. */ xcb_glx_destroy_context(c, xid); + /* increment dpy->request in order to give a unique serial number to the + * error */ + XNoOp(dpy); __glXSendError(dpy, GLXBadFBConfig, xid, 0, False); } else { gc->xid = xid;