projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78dfbc3
)
mesa: add const qualifier in test_attachment_completeness()
author
Brian Paul
<brianp@vmware.com>
Tue, 5 Dec 2017 04:27:54 +0000
(21:27 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 5 Dec 2017 22:32:25 +0000
(15:32 -0700)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index 81165630d0d7219fa26d011b15a94bfb3b76529b..f7702f1c13b6ec3f162ff72cd57bcc9624e86d7a 100644
(file)
--- 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) {