meta: replace abort() with _mesa_problem()
authorBrian Paul <brianp@vmware.com>
Thu, 9 Feb 2012 03:11:58 +0000 (20:11 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 10 Feb 2012 15:06:56 +0000 (08:06 -0700)
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/drivers/common/meta.c

index aa5fef87373a4070cdb4c9b34cf078b194eb20d3..0cf1028c49a71de4873f6e25bd3b3272f481ef18 100644 (file)
@@ -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;
       }