projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glx: add missing sRGB attribute check in fbconfigs_compatible()
[mesa.git]
/
src
/
glx
/
glxcmds.c
diff --git
a/src/glx/glxcmds.c
b/src/glx/glxcmds.c
index 53c9f9ce2afa9ccfd6c30ac33bc3c231d0ac21ab..309d550107b0e430f7578c60abd6a77d0e2e7269 100644
(file)
--- a/
src/glx/glxcmds.c
+++ b/
src/glx/glxcmds.c
@@
-1014,6
+1014,7
@@
fbconfigs_compatible(const struct glx_config * const a,
MATCH_MASK(drawableType);
MATCH_MASK(renderType);
+ MATCH_DONT_CARE(sRGBCapable);
/* There is a bug in a few of the XFree86 DDX drivers. They contain
* visuals with a "transparent type" of 0 when they really mean GLX_NONE.