diff options
author | Brian Paul <[email protected]> | 2017-12-04 21:27:54 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-12-05 15:32:25 -0700 |
commit | b2c3fd984a51d639d219a9d2c7f7796a2f70a80e (patch) | |
tree | 8c381c0d111519d17779ffe4afe6a5eb12cb1cb0 /src/mesa | |
parent | 78dfbc30b6a31aabe73e59073a895f07bbed83cf (diff) |
mesa: add const qualifier in test_attachment_completeness()
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 81165630d0d..f7702f1c13b 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -793,7 +793,7 @@ test_attachment_completeness(const struct gl_context *ctx, GLenum format, /* Look for reasons why the attachment might be incomplete */ if (att->Type == GL_TEXTURE) { const struct gl_texture_object *texObj = att->Texture; - struct gl_texture_image *texImage; + const struct gl_texture_image *texImage; GLenum baseFormat; if (!texObj) { |