]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - palette.c
made various things take const pointers (optimizer hint), commented out and/or remove...
[xonotic/darkplaces.git] / palette.c
index 6b4aa922186cc04150160269d18809a5c01f7c8d..eb36367ba90b42ff7883d6e315a0d83e6bf13249 100644 (file)
--- a/palette.c
+++ b/palette.c
@@ -14,8 +14,8 @@ cvar_t v_hwgamma = {0, "v_hwgamma", "1"};
 
 void Palette_Setup8to24(void)
 {
+       int i;
        qbyte *in, *out;
-       unsigned short i;
 
        in = host_basepal;
        out = (qbyte *) d_8to24table; // d_8to24table is accessed as 32bit for speed reasons, but is created as 8bit bytes