From e649ca461398e7aac5105e3bbc62686a779a7dd8 Mon Sep 17 00:00:00 2001 From: sezero Date: Wed, 22 Aug 2018 22:02:28 +0300 Subject: [PATCH] glide2x, tests: comment out unused helper proc in plib.c --- glide2x/cvg/glide/tests/plib.c | 5 ++++- glide2x/h3/glide/tests/plib.c | 5 ++++- glide2x/sst1/glide/tests/plib.c | 6 ++++-- glide2x/sst1/glide/tests/plib.h | 1 - 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/glide2x/cvg/glide/tests/plib.c b/glide2x/cvg/glide/tests/plib.c index e5bae21..5a943d6 100644 --- a/glide2x/cvg/glide/tests/plib.c +++ b/glide2x/cvg/glide/tests/plib.c @@ -50,7 +50,6 @@ static void prGetLod( GrTexInfo *lpTexInfo, GrLOD_t deLod, void *data ); static void prPopLod( GrTexInfo *lpDeTexInfo, mipMapEnd_t deMipMapEnd ); static void prPushLod( GrTexInfo *lpDeTexInfo, mipMapEnd_t deMipMapEnd ); static FxU32 prGetTxMnAdd( hTexId_t deTexId, GrLOD_t deLod ); -static int prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ); static int prGetLodHeight( GrLOD_t lod, GrAspectRatio_t aspect ); static FxU32 prGetMultiMemBump( const GrTexInfo *const deTexInfo, GrTexBaseRange_t deTexBase, @@ -97,12 +96,14 @@ plTxMnLoadTxMngr( TlTexture* lpTexture ) Arguments: Return: -------------------------------------------------------------------*/ +#if 0 /* NOT USED */ static void prTxMnSetBeenPopd( hTexId_t deTexId, FxBool bBeenPopd ) { SET_BEENPOPD( tlTxMnMngr[deTexId], bBeenPopd ); SET_DIRTY( tlTxMnMngr[deTexId], FXTRUE ); /* just for messing with it */ } +#endif /*-------------------------------------------------------------------*/ @@ -1328,6 +1329,7 @@ FxU32 prTexMultiMemRequired( FxU32 deMipMask, GrTexBaseRange_t deMultiSeg, /*-------------------------------------------------------------------*/ +#if 0 /* NOT USED */ static int prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ) { @@ -1340,6 +1342,7 @@ prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ) return( val ); } +#endif /*-------------------------------------------------------------------*/ diff --git a/glide2x/h3/glide/tests/plib.c b/glide2x/h3/glide/tests/plib.c index e5bae21..5a943d6 100644 --- a/glide2x/h3/glide/tests/plib.c +++ b/glide2x/h3/glide/tests/plib.c @@ -50,7 +50,6 @@ static void prGetLod( GrTexInfo *lpTexInfo, GrLOD_t deLod, void *data ); static void prPopLod( GrTexInfo *lpDeTexInfo, mipMapEnd_t deMipMapEnd ); static void prPushLod( GrTexInfo *lpDeTexInfo, mipMapEnd_t deMipMapEnd ); static FxU32 prGetTxMnAdd( hTexId_t deTexId, GrLOD_t deLod ); -static int prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ); static int prGetLodHeight( GrLOD_t lod, GrAspectRatio_t aspect ); static FxU32 prGetMultiMemBump( const GrTexInfo *const deTexInfo, GrTexBaseRange_t deTexBase, @@ -97,12 +96,14 @@ plTxMnLoadTxMngr( TlTexture* lpTexture ) Arguments: Return: -------------------------------------------------------------------*/ +#if 0 /* NOT USED */ static void prTxMnSetBeenPopd( hTexId_t deTexId, FxBool bBeenPopd ) { SET_BEENPOPD( tlTxMnMngr[deTexId], bBeenPopd ); SET_DIRTY( tlTxMnMngr[deTexId], FXTRUE ); /* just for messing with it */ } +#endif /*-------------------------------------------------------------------*/ @@ -1328,6 +1329,7 @@ FxU32 prTexMultiMemRequired( FxU32 deMipMask, GrTexBaseRange_t deMultiSeg, /*-------------------------------------------------------------------*/ +#if 0 /* NOT USED */ static int prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ) { @@ -1340,6 +1342,7 @@ prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ) return( val ); } +#endif /*-------------------------------------------------------------------*/ diff --git a/glide2x/sst1/glide/tests/plib.c b/glide2x/sst1/glide/tests/plib.c index 112f8b4..5a943d6 100644 --- a/glide2x/sst1/glide/tests/plib.c +++ b/glide2x/sst1/glide/tests/plib.c @@ -16,7 +16,6 @@ ** THE UNITED STATES. ** ** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED -** */ #include @@ -51,7 +50,6 @@ static void prGetLod( GrTexInfo *lpTexInfo, GrLOD_t deLod, void *data ); static void prPopLod( GrTexInfo *lpDeTexInfo, mipMapEnd_t deMipMapEnd ); static void prPushLod( GrTexInfo *lpDeTexInfo, mipMapEnd_t deMipMapEnd ); static FxU32 prGetTxMnAdd( hTexId_t deTexId, GrLOD_t deLod ); -static int prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ); static int prGetLodHeight( GrLOD_t lod, GrAspectRatio_t aspect ); static FxU32 prGetMultiMemBump( const GrTexInfo *const deTexInfo, GrTexBaseRange_t deTexBase, @@ -98,12 +96,14 @@ plTxMnLoadTxMngr( TlTexture* lpTexture ) Arguments: Return: -------------------------------------------------------------------*/ +#if 0 /* NOT USED */ static void prTxMnSetBeenPopd( hTexId_t deTexId, FxBool bBeenPopd ) { SET_BEENPOPD( tlTxMnMngr[deTexId], bBeenPopd ); SET_DIRTY( tlTxMnMngr[deTexId], FXTRUE ); /* just for messing with it */ } +#endif /*-------------------------------------------------------------------*/ @@ -1329,6 +1329,7 @@ FxU32 prTexMultiMemRequired( FxU32 deMipMask, GrTexBaseRange_t deMultiSeg, /*-------------------------------------------------------------------*/ +#if 0 /* NOT USED */ static int prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ) { @@ -1341,6 +1342,7 @@ prGetLodWidth( GrLOD_t lod, GrAspectRatio_t aspect ) return( val ); } +#endif /*-------------------------------------------------------------------*/ diff --git a/glide2x/sst1/glide/tests/plib.h b/glide2x/sst1/glide/tests/plib.h index f3300af..24ed017 100644 --- a/glide2x/sst1/glide/tests/plib.h +++ b/glide2x/sst1/glide/tests/plib.h @@ -16,7 +16,6 @@ ** THE UNITED STATES. ** ** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED -** */ #ifndef _PLIB_H_