From 28b014ee256290eb0494b967e40c475c0c895f57 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 Apr 2006 03:05:17 +0000 Subject: Silence minor compiler warnings (-Wextra). --- src/mesa/main/depthstencil.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/main/depthstencil.c') 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); -- cgit v1.2.3