]> 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>
Wed, 22 May 2019 22:43:56 +0000 (00:43 +0200)
commit45a94bcaba587f636c1aa40485d02c5619109b20
tree0e0db6bd762b2e694fcec542c028bd9e9bf48821
parent575a3feeaa7420f65a4468b997167d7555794c08
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