aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_state.c b/src/mesa/drivers/dri/i965/intel_state.c
index e4a63e5c6ad..3bb0fc196d3 100644
--- a/src/mesa/drivers/dri/i965/intel_state.c
+++ b/src/mesa/drivers/dri/i965/intel_state.c
@@ -59,7 +59,7 @@ intel_translate_shadow_compare_func(GLenum func)
return BRW_COMPAREFUNCTION_NEVER;
}
- fprintf(stderr, "Unknown value in %s: %x\n", __FUNCTION__, func);
+ assert(!"Invalid shadow comparison function.");
return BRW_COMPAREFUNCTION_NEVER;
}
@@ -85,7 +85,7 @@ intel_translate_compare_func(GLenum func)
return BRW_COMPAREFUNCTION_ALWAYS;
}
- fprintf(stderr, "Unknown value in %s: %x\n", __FUNCTION__, func);
+ assert(!"Invalid comparison function.");
return BRW_COMPAREFUNCTION_ALWAYS;
}