summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i830_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_render.c b/src/i830_render.c
index 4bee5ba0..b1d6f508 100644
--- a/src/i830_render.c
+++ b/src/i830_render.c
@@ -250,9 +250,9 @@ i8xx_get_card_format(PicturePtr pPict)
i++)
{
if (i830_tex_formats[i].fmt == pPict->format)
- break;
+ return i830_tex_formats[i].card_fmt;
}
- return i830_tex_formats[i].card_fmt;
+ FatalError("Unsupported format type %d\n", pPict->format);
}
static Bool