From fa4b1da8b79582b3ead53fb859464188fbb5c031 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Thu, 20 May 2004 07:16:53 +0000 Subject: [PATCH] fix last commit (d1x r1.35) --- ChangeLog | 2 ++ arch/ogl/ogl.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76650a12..9dffd4c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-05-20 Matthew Mueller + * arch/ogl/ogl.c: fix last commit (d1x r1.35) + * arch/ogl/ogl.c: add RENDERSTATS counter for number of textures loaded after texture caching stage (d1x r1.34) diff --git a/arch/ogl/ogl.c b/arch/ogl/ogl.c index df757c14..86e8518b 100644 --- a/arch/ogl/ogl.c +++ b/arch/ogl/ogl.c @@ -1,4 +1,4 @@ -/* $Id: ogl.c,v 1.22 2004-05-20 07:13:20 btb Exp $ */ +/* $Id: ogl.c,v 1.23 2004-05-20 07:16:53 btb Exp $ */ /* * * Graphics support functions for OpenGL. @@ -74,6 +74,7 @@ int GL_texclamp_enabled=-1; extern int gr_renderstats; extern int gr_badtexture; +int r_texcount = 0, r_cachedtexcount = 0; int ogl_alttexmerge=1;//merge textures by just printing the seperate textures? int ogl_rgba_format=4; int ogl_intensity4_ok=1; @@ -314,8 +315,6 @@ void ogl_cache_weapon_textures(weapon_info *w){ ogl_cache_polymodel_textures(w->model_num); } -int r_texcount = 0, r_cachedtexcount = 0; - void ogl_cache_level_textures(void) { int seg,side,i; -- 2.39.2