]> git.tdb.fi Git - libs/gl.git/commit
Add an srgb flag to pixelformat_from_image
authorMikko Rasa <tdb@tdb.fi>
Thu, 30 Sep 2021 11:28:14 +0000 (14:28 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 30 Sep 2021 11:52:00 +0000 (14:52 +0300)
commit8b3e51aeff0e22d29a34772c77b8647108f58677
treeb392ee3d5c166ce0ed80d6038d80d634ddd57075
parent729a477b47e97aea41f3f0b5db551f02bf70d1ee
Add an srgb flag to pixelformat_from_image

This simplifies the pixel format handling in the texture classes.
source/core/pixelformat.cpp
source/core/pixelformat.h
source/core/texture1d.cpp
source/core/texture2d.cpp
source/core/texture3d.cpp
source/core/texturecube.cpp