[Mesa-dev] [PATCH 15/26] i965: Declare read-only input to level/layer check const
Topi Pohjolainen
topi.pohjolainen at gmail.com
Tue Oct 11 19:26:47 UTC 2016
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
index 2ef2d20..8c53fa0 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
@@ -734,7 +734,7 @@ intel_miptree_physical_to_logical_layer(const struct intel_mipmap_tree *mt,
/** \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)
{
--
2.5.5
More information about the mesa-dev
mailing list