mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
silence a warning
This commit is contained in:
parent
b23f5b5a5c
commit
5c749d9e3c
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue