OpenGL2: Switch to RGTC from LATC for normal maps.

Also added a RGTC compressor as a workaround on Intel graphics.
This commit is contained in:
SmileTheory 2015-12-15 03:23:55 -08:00
parent c07cc282d0
commit cbfc3471bc
6 changed files with 181 additions and 115 deletions

View file

@ -1380,7 +1380,7 @@ typedef enum {
typedef enum {
TCR_NONE = 0x0000,
TCR_LATC = 0x0001,
TCR_RGTC = 0x0001,
TCR_BPTC = 0x0002,
} textureCompressionRef_t;
@ -1404,7 +1404,9 @@ typedef struct {
qboolean textureFloat;
qboolean halfFloatPixel;
qboolean packedDepthStencil;
qboolean arbTextureCompression;
textureCompressionRef_t textureCompression;
qboolean swizzleNormalmap;
qboolean framebufferMultisample;
qboolean framebufferBlit;