From 4663bd50f1e2f219bd1b2a4d902b11b936512398 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 30 Oct 2002 20:16:43 +0000 Subject: don't call abort() --- src/mesa/swrast/s_copypix.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_copypix.c') diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c index fcab45fe18..31fffff627 100644 --- a/src/mesa/swrast/s_copypix.c +++ b/src/mesa/swrast/s_copypix.c @@ -1,8 +1,8 @@ -/* $Id: s_copypix.c,v 1.41 2002/10/24 23:57:24 brianp Exp $ */ +/* $Id: s_copypix.c,v 1.42 2002/10/30 20:16:43 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 4.1 + * Version: 5.0 * * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * @@ -414,7 +414,8 @@ copy_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, } /* convolution */ if (transferOps & IMAGE_CONVOLUTION_BIT) { - abort(); /* should never get here; caught at top of function */ + _mesa_problem(ctx, "Convolution should not be enabled in copy_rgba_pixels()"); + return; } /* GL_POST_CONVOLUTION_RED/GREEN/BLUE/ALPHA_SCALE/BIAS */ if (transferOps & IMAGE_POST_CONVOLUTION_SCALE_BIAS) { -- cgit v1.2.3