No brightness correction in Open-Arena (also xdriinfo different than glxinfo)

Mateusz Kaduk mateusz.kaduk at gmail.com
Sun Feb 22 08:51:39 PST 2009


This is fine with Open-Arena now, but other game RegnumOnline is now a way
too bright and does not have any gamma correction. Is it possible to have
them both properly working ?

2009/2/22 Shunichi Fuji <palglowr at gmail.com>

> we are disabling some gamma functions since
> 91f73b79b7ae64e5b846d1efeb470bb61a913720.
> you can use randr gamma functions only.
>
> also you may want to avoid its changes while discussion continues.
>
> --- a/hw/xfree86/common/xf86cmap.c
> +++ b/hw/xfree86/common/xf86cmap.c
> @@ -142,9 +142,11 @@ Bool xf86HandleColormaps(
>     int *indices;
>     int elements;
>
> +#if 0
>     /* If we support a better colormap system, then pretend we succeeded.
> */
>     if (xf86_crtc_supports_gamma(pScrn))
>        return TRUE;
> +#endif
>
>     if(!maxColors || !sigRGBbits || !loadPalette)
>        return FALSE;
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090222/8eff6f18/attachment.html>


More information about the xorg mailing list