ref: gl: make DrawGLPoly and R_TextureAnimation private to brush rendering code

This commit is contained in:
Alibek Omarov 2025-01-18 08:39:31 +03:00
parent 0a41b70e44
commit c906aa0106
2 changed files with 2 additions and 4 deletions

View file

@ -438,8 +438,6 @@ void R_DrawWaterSurfaces( void );
void R_DrawBrushModel( cl_entity_t *e ); void R_DrawBrushModel( cl_entity_t *e );
void GL_SubdivideSurface( model_t *mod, msurface_t *fa ); void GL_SubdivideSurface( model_t *mod, msurface_t *fa );
void GL_BuildPolygonFromSurface( 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 GL_SetupFogColorForSurfaces( void );
void R_DrawAlphaTextureChains( void ); void R_DrawAlphaTextureChains( void );
void GL_RebuildLightmaps( void ); void GL_RebuildLightmaps( void );

View file

@ -478,7 +478,7 @@ R_TextureAnimation
Returns the proper texture for a given time and surface 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; texture_t *base = s->texinfo->texture;
int count, reletive; int count, reletive;
@ -812,7 +812,7 @@ static void R_BuildLightMap( const msurface_t *surf, byte *dest, int stride, qbo
DrawGLPoly DrawGLPoly
================ ================
*/ */
void DrawGLPoly( glpoly2_t *p, float xScale, float yScale ) static void DrawGLPoly( glpoly2_t *p, float xScale, float yScale )
{ {
float *v; float *v;
float sOffset, sy; float sOffset, sy;