aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-06-29 19:12:04 -0700
committerMatt Turner <[email protected]>2014-07-01 08:55:52 -0700
commita3d10c2c304c65e37a940edbbc84f37e5cf88f33 (patch)
tree790babf96d52b777ba2663927b985c447ed78b72 /src/mesa/drivers/common/meta.c
parente65844023492c1ebc12c3fd299fe614164fe32a2 (diff)
mesa: Make unreachable macro take a string argument.
To aid in debugging. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.c')
-rw-r--r--src/mesa/drivers/common/meta.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index f313f5645b4..f1f57297c02 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -2592,8 +2592,7 @@ _mesa_meta_setup_texture_coords(GLenum faceTarget,
coord = coords3;
break;
default:
- assert(0);
- unreachable();
+ unreachable("not reached");
}
coord[3] = (float) (slice / 6);