From: Brian Paul Date: Tue, 5 Dec 2017 04:27:54 +0000 (-0700) Subject: mesa: add const qualifier in test_attachment_completeness() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2c3fd984a51d639d219a9d2c7f7796a2f70a80e;p=mesa.git mesa: add const qualifier in test_attachment_completeness() Reviewed-by: Marek Olšák --- 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) {