This commit is contained in:
Daveo 2001-05-22 18:00:51 +00:00
parent b274f27ec8
commit da62345169
2 changed files with 13 additions and 0 deletions

View file

@ -67,6 +67,18 @@ void PrimDisplay()
ResetOTagR(BaseOtPtr,MAX_OT_ALL);
}
/*****************************************************************************/
void FlushPrimPool()
{
printf("%x %x\n",(int)CurrPrim,(int)PrimBuffer[PrimFlipFlag]);
BaseOtPtr=(sOT*)OtList[PrimFlipFlag];
GUIOtPtr=BaseOtPtr;
OtPtr=GUIOtPtr+MAX_OT_GUI;
CurrPrim=(u8*)PrimBuffer[PrimFlipFlag];
EndPrim=CurrPrim+(PRIMPOOL_SIZE);
ResetOTagR(BaseOtPtr,MAX_OT_ALL);
}
/*** Clipping ****************************************************************/
void PrimClip(RECT *R, u32 Depth)
{