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/framebuffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/main/framebuffer.c') diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index a6607387fee..7ce84131e63 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -141,6 +141,7 @@ struct gl_framebuffer * _mesa_new_framebuffer(GLcontext *ctx, GLuint name) { struct gl_framebuffer *fb; + (void) ctx; assert(name != 0); fb = CALLOC_STRUCT(gl_framebuffer); if (fb) { @@ -581,6 +582,7 @@ update_color_draw_buffers(GLcontext *ctx, struct gl_framebuffer *fb) static void update_color_read_buffer(GLcontext *ctx, struct gl_framebuffer *fb) { + (void) ctx; if (fb->_ColorReadBufferIndex == -1) { fb->_ColorReadBuffer = NULL; /* legal! */ } -- cgit v1.2.3