]> git.tdb.fi Git - libs/gl.git/commit
Add a swizzle mode for presenting an RGBA texture as RGB
authorMikko Rasa <tdb@tdb.fi>
Fri, 12 Nov 2021 16:23:21 +0000 (18:23 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 12 Nov 2021 16:34:00 +0000 (18:34 +0200)
commitf06597a014938746c9018e1dfc463932c8dde5ec
tree9adba0e6ef8145979b7d830aa5fb71d7c67aa888
parentf0081c84106c3aead61e48f76d52bd92b61ed131
Add a swizzle mode for presenting an RGBA texture as RGB

Not many Vulkan implementations support RGB textures
source/backends/opengl/pixelformat_backend.cpp
source/core/pixelformat.cpp
source/core/pixelformat.h