summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-07-13 16:38:44 +0000
committerBrian Paul <[email protected]>2001-07-13 16:38:44 +0000
commit5c749d9e3c7824c0ba5b22e37d0ea5cbd54d6d2d (patch)
tree3fc31ccb1ae6b6a40fa88fe3c0002c3625c97045 /src/mesa/main/texstore.c
parentb23f5b5a5ccf5910f1d11d749c2e440e6a46259b (diff)
silence a warning
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r--src/mesa/main/texstore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 19eb36e6f07..6474121b702 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -1,4 +1,4 @@
-/* $Id: texstore.c,v 1.29 2001/06/15 14:18:46 brianp Exp $ */
+/* $Id: texstore.c,v 1.30 2001/07/13 16:38:44 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1420,6 +1420,8 @@ make_3d_mipmap(const struct gl_texture_format *format, GLint border,
GLint bytesPerSrcRow, bytesPerDstRow;
GLint srcImageOffset, srcRowOffset;
+ (void) srcDepthNB; /* silence warnings */
+
/* Need two temporary row buffers */
tmpRowA = MALLOC(srcWidth * bpt);
if (!tmpRowA)