Permalink
Browse files

rendererGLES: fix compiler warning

  • Loading branch information...
rafal1137 committed Dec 6, 2018
1 parent 313fb4c commit 2b5580d1a45f278c5f36f689731830e55420b240
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/rendererGLES/tr_local.h
  2. +1 −1 src/rendererGLES/tr_shade.c
  3. +1 −1 src/rendererGLES/tr_surface.c
@@ -948,7 +948,7 @@ typedef struct srfTriangles_s
// triangle definitions
int numIndexes;
short *indexes;
int *indexes;
int numVerts;
drawVert_t *verts;
@@ -384,7 +384,7 @@ static void DynamicLightSinglePass(void)
int i, l, a, b, c, color, *intColors;
vec3_t origin;
byte *colors;
unsigned hitIndexes[SHADER_MAX_INDEXES];
glIndex_t hitIndexes[SHADER_MAX_INDEXES];
int numIndexes;
float radius, radiusInverseCubed;
float intensity, remainder, modulate;
@@ -1335,7 +1335,7 @@ void RB_SurfaceFace(srfSurfaceFace_t *surf)
indices = ( unsigned * )((( char * ) surf) + surf->ofsIndices);
Bob = tess.numVertexes;
tessIndexes = tess.indexes + tess.numIndexes;
tessIndexes = ( unsigned int * )( tess.indexes + tess.numIndexes);
for (i = surf->numIndices - 1 ; i >= 0 ; i--)
{
tessIndexes[i] = indices[i] + Bob;

0 comments on commit 2b5580d

Please sign in to comment.