From adbbea9b5123b7866cf5b31a6011b428b5ccc079 Mon Sep 17 00:00:00 2001 From: Kendall Bennett Date: Thu, 2 Oct 2003 23:50:44 +0000 Subject: Fixed bugs in Mesa software span rendering for color index modes --- src/mesa/main/glheader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/glheader.h') diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 86827324688..0f93539a81b 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -278,7 +278,9 @@ typedef struct tagPIXELFORMATDESCRIPTOR PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESC #endif -#ifdef DEBUG +#if defined(__SCITECH_SNAP__) && defined(CHECKED) +# define ASSERT(X) _CHECK(X) +#elif defined(DEBUG) # define ASSERT(X) assert(X) #else # define ASSERT(X) -- cgit v1.2.3