Browse Source

tdfx: Silence uninitialized variable warning.

tags/mesa-7.7-1
Vinson Lee 16 years ago
parent
commit
ac21edff1c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/tdfx/tdfx_tex.c

+ 1
- 1
src/mesa/drivers/dri/tdfx/tdfx_tex.c View File

@@ -1572,7 +1572,7 @@ tdfxCompressedTexImage2D (GLcontext *ctx, GLenum target,
tdfxTexInfo *ti;
tdfxMipMapLevel *mml;
gl_format mesaFormat;
GLuint compressedSize;
GLuint compressedSize = 0;

if (TDFX_DEBUG & DEBUG_VERBOSE_DRI) {
fprintf(stderr, "tdfxCompressedTexImage2D: id=%d int 0x%x %dx%d\n",

Loading…
Cancel
Save