summaryrefslogtreecommitdiff
path: root/src/mesa/main/depthstencil.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-04-05 03:05:17 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-04-05 03:05:17 +0000
commit28b014ee256290eb0494b967e40c475c0c895f57 (patch)
tree9196b0a5fc1fbdd151ac80335e0517771c960998 /src/mesa/main/depthstencil.c
parent027bb77e02cf38c553d1396a348783ddc1b7913c (diff)
Silence minor compiler warnings (-Wextra).
Diffstat (limited to 'src/mesa/main/depthstencil.c')
-rw-r--r--src/mesa/main/depthstencil.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/depthstencil.c b/src/mesa/main/depthstencil.c
index 09524bba02..d4990bb795 100644
--- a/src/mesa/main/depthstencil.c
+++ b/src/mesa/main/depthstencil.c
@@ -48,6 +48,10 @@
static void *
nop_get_pointer(GLcontext *ctx, struct gl_renderbuffer *rb, GLint x, GLint y)
{
+ (void) ctx;
+ (void) rb;
+ (void) x;
+ (void) y;
return NULL;
}
@@ -82,6 +86,8 @@ alloc_wrapper_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
struct gl_renderbuffer *dsrb = rb->Wrapped;
GLboolean retVal;
+ (void) internalFormat;
+
ASSERT(dsrb->_ActualFormat == GL_DEPTH24_STENCIL8_EXT);
retVal = dsrb->AllocStorage(ctx, dsrb, dsrb->InternalFormat, width, height);