Skip to content
Snippets Groups Projects
Commit c269aa38 authored by Bastian Beranek's avatar Bastian Beranek Committed by Eric Engestrom
Browse files

glx: Assign unique serial number to GLXBadFBConfig error

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: mesa/mesa#3969


Signed-off-by: default avatarBastian Beranek <bastian.beischer@rwth-aachen.de>
Part-of: <mesa/mesa!10565>
(cherry picked from commit 960c86d6)
parent 3f78ccb7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment