From 21fa4b55f09978f93af83635c325358731a96e2e Mon Sep 17 00:00:00 2001 From: sezero Date: Sun, 12 Aug 2018 17:00:02 +0300 Subject: [PATCH] h5, fxglide.h: don't limit forward declaration of struct GrGC_s to gcc --- glide3x/h3/glide3/src/fxglide.h | 5 +---- glide3x/h5/glide3/src/fxglide.h | 5 ----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/glide3x/h3/glide3/src/fxglide.h b/glide3x/h3/glide3/src/fxglide.h index 32b44d7..c786c00 100644 --- a/glide3x/h3/glide3/src/fxglide.h +++ b/glide3x/h3/glide3/src/fxglide.h @@ -939,13 +939,10 @@ void FX_CSTYLE _grDrawVertexList_3DNow_Window(FxU32 pktype, FxU32 type, FxI32 mo void FX_CSTYLE _grDrawVertexList_3DNow_Clip(FxU32 pktype, FxU32 type, FxI32 mode, FxI32 count, void *pointers); #endif /* GL_AMD3D */ -/* Define this structure otherwise it assumes the structure only exists - within the function */ struct GrGC_s; - /* _GlideRoot.curTexProcs is an array of (possibly specialized * function pointers indexed by texture format size (8/16 bits) and - * texture line width (1/2/4/>4). + * texture line width (1/2/4/>4). * * xtexdl.c */ diff --git a/glide3x/h5/glide3/src/fxglide.h b/glide3x/h5/glide3/src/fxglide.h index 466675c..a98b539 100644 --- a/glide3x/h5/glide3/src/fxglide.h +++ b/glide3x/h5/glide3/src/fxglide.h @@ -1369,12 +1369,7 @@ void FX_CSTYLE _grDrawVertexList_SSE_Window(FxU32 pktype, FxU32 type, FxI32 mode void FX_CSTYLE _grDrawVertexList_SSE_Clip(FxU32 pktype, FxU32 type, FxI32 mode, FxI32 count, void *pointers); #endif /* GL_SSE */ -#ifdef __GNUC__ -/* Define this structure otherwise it assumes the structure only exists - within the function */ struct GrGC_s; -#endif /* __GNUC__ */ - /* _GlideRoot.curTexProcs is an array of (possibly specialized) * function pointers indexed by texture format size (8/16 bits for * pre-Napalm, 4/8/16/32 for Napalm) and texture line width (1/2/4/>4).