diff options
author | Ian Romanick <[email protected]> | 2011-08-25 17:04:11 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-09 12:01:51 -0700 |
commit | 2d4b8e296f7f60e704bfcdec79c86cc1c013d7b9 (patch) | |
tree | e3c78d920743d3bc4cf952994d4e90c64b820723 /src/mesa | |
parent | 559ed1a41d9aa0da5a61f606da2439905766f44a (diff) |
swrast-dri: Silence several "warning: unused parameter"
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/swrast/swrast.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 719b406ec05..6d4f5fce52a 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -135,6 +135,9 @@ swrastFillInModes(__DRIscreen *psp, uint8_t stencil_bits_array[4]; uint8_t msaa_samples_array[1]; + (void) psp; + (void) have_back_buffer; + depth_bits_array[0] = 0; depth_bits_array[1] = 0; depth_bits_array[2] = depth_bits; @@ -215,6 +218,7 @@ static void dri_destroy_screen(__DRIscreen * sPriv) { TRACE; + (void) sPriv; } @@ -278,6 +282,9 @@ swrast_alloc_front_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, TRACE; + (void) ctx; + (void) internalFormat; + rb->Data = NULL; rb->Width = width; rb->Height = height; @@ -376,6 +383,9 @@ dri_create_buffer(__DRIscreen * sPriv, TRACE; + (void) sPriv; + (void) isPixmap; + drawable = CALLOC_STRUCT(dri_drawable); if (drawable == NULL) goto drawable_fail; @@ -537,6 +547,10 @@ viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei w, GLsizei h) struct gl_framebuffer *draw = ctx->WinSysDrawBuffer; struct gl_framebuffer *read = ctx->WinSysReadBuffer; + (void) x; + (void) y; + (void) w; + (void) h; swrast_check_and_update_window_size(ctx, draw); swrast_check_and_update_window_size(ctx, read); } |