projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08275b2
)
gallium/util: add const to a parameter of util_max_layer
author
Marek Olšák
<maraeo@gmail.com>
Fri, 5 Apr 2013 12:18:22 +0000
(14:18 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 6 Apr 2013 21:57:15 +0000
(23:57 +0200)
src/gallium/auxiliary/util/u_inlines.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_inlines.h
b/src/gallium/auxiliary/util/u_inlines.h
index 719ba25ba60c840ac06b208bbccb1c14b520c3bb..7770cd5148e6275827a3ae9c683a5bec98547d4e 100644
(file)
--- a/
src/gallium/auxiliary/util/u_inlines.h
+++ b/
src/gallium/auxiliary/util/u_inlines.h
@@
-583,7
+583,7
@@
util_copy_constant_buffer(struct pipe_constant_buffer *dst,
}
static INLINE unsigned
-util_max_layer(struct pipe_resource *r, unsigned level)
+util_max_layer(
const
struct pipe_resource *r, unsigned level)
{
switch (r->target) {
case PIPE_TEXTURE_CUBE: