h5, fxglide.h: don't limit forward declaration of struct GrGC_s to gcc

This commit is contained in:
sezero
2018-08-12 17:00:02 +03:00
parent 3e461e9f67
commit 21fa4b55f0
2 changed files with 1 additions and 9 deletions

View File

@@ -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); void FX_CSTYLE _grDrawVertexList_3DNow_Clip(FxU32 pktype, FxU32 type, FxI32 mode, FxI32 count, void *pointers);
#endif /* GL_AMD3D */ #endif /* GL_AMD3D */
/* Define this structure otherwise it assumes the structure only exists
within the function */
struct GrGC_s; struct GrGC_s;
/* _GlideRoot.curTexProcs is an array of (possibly specialized /* _GlideRoot.curTexProcs is an array of (possibly specialized
* function pointers indexed by texture format size (8/16 bits) and * 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 * xtexdl.c
*/ */

View File

@@ -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); void FX_CSTYLE _grDrawVertexList_SSE_Clip(FxU32 pktype, FxU32 type, FxI32 mode, FxI32 count, void *pointers);
#endif /* GL_SSE */ #endif /* GL_SSE */
#ifdef __GNUC__
/* Define this structure otherwise it assumes the structure only exists
within the function */
struct GrGC_s; struct GrGC_s;
#endif /* __GNUC__ */
/* _GlideRoot.curTexProcs is an array of (possibly specialized) /* _GlideRoot.curTexProcs is an array of (possibly specialized)
* function pointers indexed by texture format size (8/16 bits for * 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). * pre-Napalm, 4/8/16/32 for Napalm) and texture line width (1/2/4/>4).