+#ifndef GL_BACKEND_H
+#define GL_BACKEND_H
+
#define MAX_TEXTUREUNITS 8
extern int c_meshtris, c_meshs, c_transtris, c_transmeshs;
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;
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;
void R_ClearScreen(void);
// invoke refresh of frame
void SCR_UpdateScreen (void);
+
+#endif
+