glide2x, sst1: unused variable warning fixes.

This commit is contained in:
sezero
2018-08-20 22:30:55 +03:00
parent 36dc997a1d
commit 46ca75c1dd
2 changed files with 3 additions and 3 deletions

View File

@@ -332,7 +332,7 @@ GR_DIENTRY(grTriStats, void, ( FxU32 *trisProcessed, FxU32 *trisDrawn ))
void GR_CDECL
_grFence( void )
{
#if (GLIDE_PLATFORM & GLIDE_HW_SST96)
#if (GLIDE_PLATFORM & GLIDE_HW_SST96) && GDBG_INFO_ON
GR_DCL_GC;
GDBG_INFO((125,"\t\t\t\t%d writes since last fence\n",
gc->hwDep.sst96Dep.writesSinceFence));

View File

@@ -128,7 +128,7 @@ static char *indexNames[] = {
GR_DDFUNC(_trisetup, FxI32, ( const GrVertex *va, const GrVertex *vb, const GrVertex *vc ))
{
GR_DCL_GC;
GR_DCL_HW;
/*GR_DCL_HW;*/
const float *fa = &va->x;
const float *fb = &vb->x;
const float *fc = &vc->x;
@@ -535,7 +535,7 @@ GDBG_INFO((285,"p0,1y: %g %g dpdy: %g\n",dpBC * dxAB,dpAB * dxBC,dpdy));
GR_DDFUNC(_trisetup_nogradients, FxI32, ( const GrVertex *va, const GrVertex *vb, const GrVertex *vc ))
{
GR_DCL_GC;
GR_DCL_HW;
/*GR_DCL_HW;*/
const float *fa = &va->x;
const float *fb = &vb->x;
const float *fc = &vc->x;