mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
glx: add missing sRGB attribute check in fbconfigs_compatible()
This patch will allow driver to choose srgb capable FBconfig if GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB attribute is 1 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
ca59fd1706
commit
6e06e281c6
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue