]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - palette.h
added rampsize parameter to BuildGammaTable8 and 16
[xonotic/darkplaces.git] / palette.h
index c0afb198648c8368ddb21f31343bd646d1c3bb9a..53281e07fe1055fe4496059d33a3b7dcd746cdb8 100644 (file)
--- a/palette.h
+++ b/palette.h
@@ -14,8 +14,8 @@ extern unsigned int palette_shirtaswhite[256];
 extern unsigned int palette_transparent[256];
 
 // used by hardware gamma functions in vid_* files
-void BuildGammaTable8(float prescale, float gamma, float scale, float base, unsigned char *out);
-void BuildGammaTable16(float prescale, float gamma, float scale, float base, unsigned short *out);
+void BuildGammaTable8(float prescale, float gamma, float scale, float base, unsigned char *out, int rampsize);
+void BuildGammaTable16(float prescale, float gamma, float scale, float base, unsigned short *out, int rampsize);
 
 void Palette_Init(void);