check for overflow vertex indices, fixes issue 6135

thx @ JMC47 for identifying the reversion, creating a useful bug report with fifo log :-)
This commit is contained in:
degasus
2013-03-23 00:18:35 +01:00
parent 59b3600284
commit 470c9ff08a
3 changed files with 15 additions and 4 deletions

View File

@ -41,6 +41,8 @@ public:
static u32 GetTriangleindexLen() {return (u32)(Tptr - BASETptr);}
static u32 GetLineindexLen() {return (u32)(Lptr - BASELptr);}
static u32 GetPointindexLen() {return (u32)(Pptr - BASEPptr);}
static u32 GetRemainingIndices();
/*
enum IndexPrimitiveType
{