]> git.sesse.net Git - nageru/commit
Fix ImageInput sRGB behavior.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 May 2019 08:37:18 +0000 (10:37 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 May 2019 08:37:18 +0000 (10:37 +0200)
commite6555c1c2795d9f6858c329221f346875ded780d
tree97da9ea92a34028ccac43dc9f5b1df9fea838095
parent1ec5ece237c0ff0db11cffb690620d0403d412a0
Fix ImageInput sRGB behavior.

After we made the different ImageInput instances share OpenGL textures,
some of them would assume they could output sRGB. Fix by the same way
we've done video textures, ie., use sRGBSwitchingInput.
nageru/image_input.cpp
nageru/image_input.h