forked from mirrors/0ad
b15c5c1c45
Shrink some OglTex fields so that it fits in the size limit. Add function to efficiently read the 1x1 mipmap level's colour. Add RGB->RGBA and BGR->RGBA transforms. Fix DXT1a detection logic. Fix OglTex_validate failing when ogl_max_tex_size == -1 (e.g. before ogl_Init is called). This was SVN commit r8097.