summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorKendall Bennett <[email protected]>2003-10-02 23:50:44 +0000
committerKendall Bennett <[email protected]>2003-10-02 23:50:44 +0000
commitadbbea9b5123b7866cf5b31a6011b428b5ccc079 (patch)
tree00ad15d38aaac9c2d0b8fc5ccecf23b7308ea4cc /src/mesa/main
parenta75246f8f5fa951d62b6b40db5bf47517b50d459 (diff)
Fixed bugs in Mesa software span rendering for color index modes
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/glheader.h4
1 files changed, 3 insertions, 1 deletions
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)