summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-12-04 21:27:54 -0700
committerBrian Paul <[email protected]>2017-12-05 15:32:25 -0700
commitb2c3fd984a51d639d219a9d2c7f7796a2f70a80e (patch)
tree8c381c0d111519d17779ffe4afe6a5eb12cb1cb0 /src/mesa/main
parent78dfbc30b6a31aabe73e59073a895f07bbed83cf (diff)
mesa: add const qualifier in test_attachment_completeness()
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/fbobject.c2
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) {