diff options
author | Keith Whitwell <[email protected]> | 1999-10-19 18:37:02 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 1999-10-19 18:37:02 +0000 |
commit | d471473b5842154c0b44b7bec149401f6dab43cc (patch) | |
tree | 5a6e53fde0662dcd2eb4b3455eaaf0a470126c1d /src/mesa/drivers/glide/fxddtex.c | |
parent | 52880f85b5270fb156c1b75effabc9c2c8b61511 (diff) |
Changes to reduce the memory footprint of display lists
Diffstat (limited to 'src/mesa/drivers/glide/fxddtex.c')
-rw-r--r-- | src/mesa/drivers/glide/fxddtex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c index 01994586856..8890902a622 100644 --- a/src/mesa/drivers/glide/fxddtex.c +++ b/src/mesa/drivers/glide/fxddtex.c @@ -52,7 +52,7 @@ static tfxTexInfo *fxAllocTexObjData(fxMesaContext fxMesa) tfxTexInfo *ti; int i; - if(!(ti=MALLOC(sizeof(tfxTexInfo)))) { + if(!(ti=CALLOC(sizeof(tfxTexInfo)))) { fprintf(stderr,"fx Driver: out of memory !\n"); fxCloseHardware(); exit(-1); @@ -219,6 +219,7 @@ void fxDDTexParam(GLcontext *ctx, GLenum target, struct gl_texture_object *tObj, ti->sClamp=GR_TEXTURECLAMP_WRAP; break; default: + fprintf(stderr, "BAD CLAMP\n"); break; } fxMesa->new_state|=FX_NEW_TEXTURING; |