]> git.tdb.fi Git - libs/gl.git/commit
Fix loading sRGB external images for textures
authorMikko Rasa <tdb@tdb.fi>
Wed, 14 Apr 2021 15:07:50 +0000 (18:07 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 14 Apr 2021 15:07:50 +0000 (18:07 +0300)
commitbaf53e7a2db1c27376a04b088b6954eeee81f009
tree127e99b6a8155db108bcf9a8a30b6df5db668da2
parente72f81ac7f8708daab71965cfc9949ea64fd8a94
Fix loading sRGB external images for textures

This fixes bugs introduced in 9087cc0 (sRGB state ignored when setting
internal format) and 635e5dc (external_image_srgb handled incorrectly).
source/core/pixelformat.cpp
source/core/pixelformat.h
source/core/texture.cpp