From: Brian Paul Date: Thu, 9 Feb 2012 03:11:58 +0000 (-0700) Subject: meta: replace abort() with _mesa_problem() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dacf793c8bf5c18f66efeb04e9d8a7e037e7378;p=mesa.git meta: replace abort() with _mesa_problem() Reviewed-by: José Fonseca --- diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index aa5fef87373..0cf1028c49a 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -3029,7 +3029,8 @@ _mesa_meta_GenerateMipmap(struct gl_context *ctx, GLenum target, /* sanity check */ status = _mesa_CheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT); if (status != GL_FRAMEBUFFER_COMPLETE_EXT) { - abort(); + _mesa_problem(ctx, "Unexpected incomplete framebuffer in " + "_mesa_meta_GenerateMipmap()"); break; }