gallium/util: add const to a parameter of util_max_layer

This commit is contained in:
Marek Olšák 2013-04-05 14:18:22 +02:00
parent 08275b25cc
commit eff66bc9f8
1 changed files with 1 additions and 1 deletions

View File

@ -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: