diff options
author | Topi Pohjolainen <[email protected]> | 2016-06-10 18:16:22 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2016-11-23 11:06:53 +0200 |
commit | dfd6088b3a8ca250ed7209f4583423cbbc293d8b (patch) | |
tree | 119bdf67f61147f141fd0673d9d987ab99ea76e4 /src | |
parent | 07d070f324ff821e24a5c7bef028d04334e57c5a (diff) |
i965: Declare read-only input to level/layer check const
Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h index 29228b82cf2..943c5a5909c 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h @@ -805,7 +805,7 @@ intel_lower_compressed_format(struct brw_context *brw, mesa_format format); /** \brief Assert that the level and layer are valid for the miptree. */ static inline void -intel_miptree_check_level_layer(struct intel_mipmap_tree *mt, +intel_miptree_check_level_layer(const struct intel_mipmap_tree *mt, uint32_t level, uint32_t layer) { |