]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
i is not longer an unsigned short in Palette_Setup8to24
[xonotic/darkplaces.git] / gl_backend.h
index 0082501c2c8989848fdc01c95253628128983a03..ae14212956ff6837cfc9f9ce6b78b1e35e164791 100644 (file)
@@ -21,7 +21,7 @@ typedef struct
        int tex[MAX_TEXTUREUNITS];
        float *texcoords[MAX_TEXTUREUNITS];
        int texcoordstep[MAX_TEXTUREUNITS];
-       float texrgbscale[MAX_TEXTUREUNITS]; // used only if COMBINE is present
+       int texrgbscale[MAX_TEXTUREUNITS]; // used only if COMBINE is present
 }
 rmeshinfo_t;
 
@@ -36,7 +36,7 @@ typedef struct
        int numtriangles;
        int numverts;
        int tex[MAX_TEXTUREUNITS];
-       float texrgbscale[MAX_TEXTUREUNITS]; // used only if COMBINE is present
+       int texrgbscale[MAX_TEXTUREUNITS]; // used only if COMBINE is present
 
        // output
        int *index;