From 23b33b717364b61c7e1ce7c4921954503bd72df1 Mon Sep 17 00:00:00 2001 From: Joseph Carter Date: Fri, 4 Feb 2000 01:58:27 +0000 Subject: [PATCH] 4 scrap textures oughtta be enough for anybody. --- common/gl_draw.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/gl_draw.c b/common/gl_draw.c index 6aac309..b73be79 100644 --- a/common/gl_draw.c +++ b/common/gl_draw.c @@ -32,8 +32,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#undef HIPFIX - extern unsigned char d_15to8table[65536]; extern cvar_t crosshair, cl_crossx, cl_crossy, crosshaircolor; @@ -143,7 +141,7 @@ void GL_Bind (int texnum) ============================================================================= */ -#define MAX_SCRAPS 1 +#define MAX_SCRAPS 4 #define BLOCK_WIDTH 256 #define BLOCK_HEIGHT 256 @@ -231,7 +229,6 @@ qpic_t *Draw_PicFromWad (char *name) p = W_GetLumpName (name); gl = (glpic_t *)p->data; -#ifndef HIPFIX // load little ones into the scrap if (p->width < 64 && p->height < 64) { @@ -256,7 +253,6 @@ qpic_t *Draw_PicFromWad (char *name) pic_texels += p->width*p->height; } else -#endif { gl->texnum = GL_LoadPicTexture (p); gl->sl = 0;