> + else if ( 2.25 - 0.1 < display->gamma && display->gamma < 2.25 ) > + display->gamma = 0.0; /* sRGB */ > > I don't understand what this function exactly does, and why the gamma > value is sometimes changed abruptly. Please add a comment that > explains this – maybe even some additional info should be displayed?
The sRGB transformation is generated by unnatural gamma <= 0 in the graph library. I just wanted it to appear naturally between 2.2 and 2.3, where it belongs functionally. Hence the if logic to interrupt and continue the gamma adjustments. Please play with [g] and [v]. I'll add a comment shortly.
