git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5107
d7cf8633-e32d-0410-b094-
e92efae38249
void GL_SetupTextureState(void)
{
- int i;
+ unsigned int i;
gltextureunit_t *unit;
CHECKGLERROR
gl_state.unit = -1;
c_meshelements += numelements;
if (gl_paranoid.integer)
{
- int i, j, size;
+ unsigned int i, j, size;
const int *p;
if (!qglIsEnabled(GL_VERTEX_ARRAY))
Con_Print("R_Mesh_Draw: vertex array not enabled\n");
CHECKGLERROR
if (gl_mesh_testmanualfeeding.integer)
{
- int i, j;
+ unsigned int i, j;
const GLfloat *p;
qglBegin(GL_TRIANGLES);
for (i = 0;i < numtriangles * 3;i++)
// restores backend state, used when done with 3D rendering
void R_Mesh_Finish(void)
{
- int i;
+ unsigned int i;
BACKENDACTIVECHECK
CHECKGLERROR
GL_LockArrays(0, 0);
void R_Mesh_State(const rmeshstate_t *m)
{
- int i;
+ unsigned int i;
BACKENDACTIVECHECK