extern cvar_t v_hwgamma;
extern unsigned int d_8to24table[256];
-//extern byte d_15to8table[32768];
+//extern qbyte d_15to8table[32768];
extern qboolean hardwaregammasupported;
void VID_UpdateGamma(qboolean force);
// used by hardware gamma functions in vid_* files
-void BuildGammaTable8(float prescale, float gamma, float scale, float base, byte *out);
+void BuildGammaTable8(float prescale, float gamma, float scale, float base, qbyte *out);
void BuildGammaTable16(float prescale, float gamma, float scale, float base, unsigned short *out);
void Gamma_Init(void);