summaryrefslogtreecommitdiff
path: root/graphics/glide3/files/patch-h3-fxglide_h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/glide3/files/patch-h3-fxglide_h')
-rw-r--r--graphics/glide3/files/patch-h3-fxglide_h33
1 files changed, 0 insertions, 33 deletions
diff --git a/graphics/glide3/files/patch-h3-fxglide_h b/graphics/glide3/files/patch-h3-fxglide_h
deleted file mode 100644
index 57c406fef8a5..000000000000
--- a/graphics/glide3/files/patch-h3-fxglide_h
+++ /dev/null
@@ -1,33 +0,0 @@
---- h3/glide3/src/fxglide.h.orig Thu May 31 12:05:52 2001
-+++ h3/glide3/src/fxglide.h Sun Sep 28 22:41:02 2003
-@@ -1526,7 +1526,7 @@
-
- #ifdef GLIDE3
- #define GR_STATE_ENTRY(name, type, args) \
-- type _##name## args
-+ type _##name args
- #else
- #define GR_STATE_ENTRY(name, type, args) \
- GR_ENTRY(name, type, args)
-@@ -1845,7 +1845,7 @@
- #define CUR_TRI_PROC(__checkValidP, __cullP) \
- (*gc->archDispatchProcs.coorModeTriVector)[__checkValidP][__cullP]
- #define INVALIDATE(regset) {\
-- gc->state.invalid |= ##regset##BIT; \
-+ gc->state.invalid |= regset##BIT; \
- gc->triSetupProc = CUR_TRI_PROC(FXTRUE, (gc->state.cull_mode != GR_CULL_DISABLE)); \
- }
-
-@@ -2133,7 +2133,11 @@
- #if defined(GLIDE_SANITY_ASSERT)
- #define GR_ASSERT(exp) ((void)((!(exp)) ? (_grAssert(#exp, __FILE__, __LINE__),0) : 0xFFFFFFFF))
- #else
--#define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
-+# ifdef __GNUC__
-+# define GR_ASSERT(exp) ((void) 0)
-+# else
-+# define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
-+# endif
- #endif
-
- #define INTERNAL_CHECK(__name, __cond, __msg, __fatalP) \