From 264c6fd1774019d059876558eafffa1c191045a7 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Sun, 18 Mar 2001 13:40:58 +0000 Subject: [PATCH] Make assertions take new GLchan formats into account. --- src/mesa/main/texutil.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/texutil.c b/src/mesa/main/texutil.c index dc963551ac1..217f1e2d6b8 100644 --- a/src/mesa/main/texutil.c +++ b/src/mesa/main/texutil.c @@ -1,4 +1,4 @@ -/* $Id: texutil.c,v 1.15 2001/03/18 08:53:50 gareth Exp $ */ +/* $Id: texutil.c,v 1.16 2001/03/18 13:40:58 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -678,7 +678,7 @@ _mesa_convert_texsubimage1d( GLint mesaFormat, ASSERT( srcImage ); ASSERT( dstImage ); - ASSERT( mesaFormat >= MESA_FORMAT_RGBA8888 ); + ASSERT( mesaFormat >= MESA_FORMAT_RGBA ); ASSERT( mesaFormat <= MESA_FORMAT_CI8 ); /* Make it easier to pass all the parameters around. @@ -716,7 +716,7 @@ _mesa_convert_texsubimage2d( GLint mesaFormat, ASSERT( srcImage ); ASSERT( dstImage ); - ASSERT( mesaFormat >= MESA_FORMAT_RGBA8888 ); + ASSERT( mesaFormat >= MESA_FORMAT_RGBA ); ASSERT( mesaFormat <= MESA_FORMAT_CI8 ); /* Make it easier to pass all the parameters around. @@ -758,7 +758,7 @@ _mesa_convert_texsubimage3d( GLint mesaFormat, ASSERT( srcImage ); ASSERT( dstImage ); - ASSERT( mesaFormat >= MESA_FORMAT_RGBA8888 ); + ASSERT( mesaFormat >= MESA_FORMAT_RGBA ); ASSERT( mesaFormat <= MESA_FORMAT_CI8 ); /* Make it easier to pass all the parameters around. -- 2.30.2