summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis/sis_dd.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2004-05-24 20:48:27 +0000
committerEric Anholt <[email protected]>2004-05-24 20:48:27 +0000
commitbbd557fc53669132fb1f93f7bb28b2939fa70f51 (patch)
tree7c17d319045d1175cc52ba3eb51d65c40501d751 /src/mesa/drivers/dri/sis/sis_dd.c
parent8c805fed0f8ec97ce8748918e382ceafab291c8d (diff)
Clean up some warnings by making sis_fatal_error a macro, and let it take an
argument of a message to print. Make some assert(0)s use sis_fatal_error.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_dd.c')
-rw-r--r--src/mesa/drivers/dri/sis/sis_dd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_dd.c b/src/mesa/drivers/dri/sis/sis_dd.c
index 2c97d270fda..1cfca69af21 100644
--- a/src/mesa/drivers/dri/sis/sis_dd.c
+++ b/src/mesa/drivers/dri/sis/sis_dd.c
@@ -146,7 +146,7 @@ sisUpdateBufferSize( sisContextPtr smesa )
z_depth = 4;
break;
default:
- assert( 0 );
+ sis_fatal_error("Bad Z format\n");
}
current->hwZ &= ~MASK_ZBufferPitch;