mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 11:27:16 +00:00
8799bd98b0
When textures.xml specifies format="alpha", the input is expected to be an 8-bit greyscale PNG, and the output will be an 8-bit uncompressed alpha-only DDS. Add format override to CTextureProperties, to select between e.g. GL_ALPHA and GL_LUMINANCE for 8-bit textures. This is needed so fonts can use the new texture system. This was SVN commit r14015.