Op 11-01-10 12:46, Matthias Hopf schreef:
> On Jan 10, 10 00:25:34 +0100, Eric Piel wrote:
>> This fix the behaviour of brightness for 0 and values above 1. You can
>> still can funky display with negative values so all is safe ;-)
> 
> Nice, but fmin() is unknown unless compiled as c99 source (which we
> probably want to avoid).
> I would suggest using
> 
> static inline double min (double x, double y)
> {
>   return x < y ? x : y;
> }
> 
> instead.
Ah, surprisingly on my machine the compiler didn't complain. I'll resend
with this.

Eric
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to