diff options
author | Ian Romanick <[email protected]> | 2017-06-14 22:49:33 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-06-20 11:07:02 -0700 |
commit | 37164da272be78d53dce65a0e34bac81a12529bb (patch) | |
tree | b840b9383725a7242c2f201535ca4c9f56cc11f0 /src/mesa/drivers/common | |
parent | 691beaf2410a1892ad95e95f3cf2ca3915120864 (diff) |
meta: Silence unused parameter warning
drivers/common/meta.c:2694:71: warning: unused parameter ‘dims’ [-Wunused-parameter]
copytexsubimage_using_blit_framebuffer(struct gl_context *ctx, GLuint dims,
^~~~
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 1ff46515f12..39499c736bb 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -2770,7 +2770,7 @@ get_temp_image_type(struct gl_context *ctx, mesa_format format) * glBlitFramebuffer() to implement glCopyTexSubImage(). */ static bool -copytexsubimage_using_blit_framebuffer(struct gl_context *ctx, GLuint dims, +copytexsubimage_using_blit_framebuffer(struct gl_context *ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, @@ -2864,7 +2864,7 @@ _mesa_meta_CopyTexSubImage(struct gl_context *ctx, GLuint dims, GLint bpp; void *buf; - if (copytexsubimage_using_blit_framebuffer(ctx, dims, + if (copytexsubimage_using_blit_framebuffer(ctx, texImage, xoffset, yoffset, zoffset, rb, |