aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/intel/intel_mipmap_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
index d7908c11516..7da020103e2 100644
--- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
@@ -976,7 +976,7 @@ intel_miptree_alloc_mcs(struct intel_context *intel,
break;
default:
assert(!"Unrecognized sample count in intel_miptree_alloc_mcs");
- break;
+ return false;
};
/* From the Ivy Bridge PRM, Vol4 Part1 p76, "MCS Base Address":