Skip to content

glx: Assign unique serial number to GLXBadFBConfig error

Bastian Beranek requested to merge bastianbeischer/mesa:noop into master

Since commit f39fd3dc a new GLX error is issued in case context creation fails. This broke wine on certain hardware: While wine installs an error handler to ignore this kind of error, it does not function because it expects the dpy->request serial number of the error to be incremented since the installation of the handler.

Workaround this by artificially increasing the request number. This also guarantees a unique serial number for the error.

Fixes: f39fd3dc Closes: #3969 (closed) Signed-off-by: Bastian Beranek bastian.beischer@rwth-aachen.de

Merge request reports