]> git.tdb.fi Git - libs/gl.git/commit
Prefer RG pixelformats over LUMINANCE
authorMikko Rasa <tdb@tdb.fi>
Thu, 3 Nov 2016 11:12:06 +0000 (13:12 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 3 Nov 2016 11:25:41 +0000 (13:25 +0200)
commit1955e583d7eeeb0a2ff054d90c3694f575d9a08d
tree982d72bdfb7a0b6f16b38258e309e7995d4ca3d6
parent8f373af3e375799dd739fe932bc697e8595756b4
Prefer RG pixelformats over LUMINANCE

LUMINANCE formats were deprecated in OpenGL 3.0.  ARB_texture_swizzle
was not promoted to core until 3.3, so it's possible this won't work on
some transition period hardware.

SLUMINANCE formats are marked as deprecated in mspgl since it's not
possible to properly emulate them through swizzling.
extensions/arb_texture_swizzle.glext [new file with mode: 0644]
source/pixelformat.h
source/texture.cpp
source/texture.h
source/texture1d.cpp
source/texture2d.cpp
source/texture3d.cpp
source/texturecube.cpp