glx: revert "Downgrade sRGB-ful fbconfigs"
This reverts f0861c80 which causes regression on multiple apps that
require a sRGB capable visual.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4690
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10498>
This commit is contained in:
@@ -237,17 +237,6 @@ driConfigEqual(const __DRIcoreExtension *core,
|
||||
}
|
||||
break;
|
||||
|
||||
case __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE:
|
||||
if (!scalarEqual(config, attrib, value)) {
|
||||
static int warned;
|
||||
if (!warned) {
|
||||
DebugMessageF("Disabling server's sRGB support\n");
|
||||
warned = 1;
|
||||
}
|
||||
config->sRGBCapable = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
if (!scalarEqual(config, attrib, value))
|
||||
return GL_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user