diff --git a/ref/gl/gl_local.h b/ref/gl/gl_local.h index fc8ee76c..8679ca60 100644 --- a/ref/gl/gl_local.h +++ b/ref/gl/gl_local.h @@ -438,8 +438,6 @@ void R_DrawWaterSurfaces( void ); void R_DrawBrushModel( cl_entity_t *e ); void GL_SubdivideSurface( model_t *mod, msurface_t *fa ); void GL_BuildPolygonFromSurface( model_t *mod, msurface_t *fa ); -void DrawGLPoly( glpoly2_t *p, float xScale, float yScale ); -texture_t *R_TextureAnimation( msurface_t *s ); void GL_SetupFogColorForSurfaces( void ); void R_DrawAlphaTextureChains( void ); void GL_RebuildLightmaps( void ); diff --git a/ref/gl/gl_rsurf.c b/ref/gl/gl_rsurf.c index fb50cf33..5e0239a9 100644 --- a/ref/gl/gl_rsurf.c +++ b/ref/gl/gl_rsurf.c @@ -478,7 +478,7 @@ R_TextureAnimation Returns the proper texture for a given time and surface =============== */ -texture_t *R_TextureAnimation( msurface_t *s ) +static texture_t *R_TextureAnimation( msurface_t *s ) { texture_t *base = s->texinfo->texture; int count, reletive; @@ -812,7 +812,7 @@ static void R_BuildLightMap( const msurface_t *surf, byte *dest, int stride, qbo DrawGLPoly ================ */ -void DrawGLPoly( glpoly2_t *p, float xScale, float yScale ) +static void DrawGLPoly( glpoly2_t *p, float xScale, float yScale ) { float *v; float sOffset, sy;