mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Surpress some warnings for retail builds
This commit is contained in:
parent
460719336e
commit
4026fea4a9
1 changed files with 4 additions and 0 deletions
|
@ -76,7 +76,9 @@ static drawSurf_t* R_AutospriteDeform( drawSurf_t* surf )
|
|||
|
||||
if( srcTri->numVerts & 3 )
|
||||
{
|
||||
#if !defined( ID_RETAIL )
|
||||
common->Warning( "R_AutospriteDeform: shader had odd vertex count" );
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
if( srcTri->numIndexes != ( srcTri->numVerts >> 2 ) * 6 )
|
||||
|
@ -399,7 +401,9 @@ static drawSurf_t* R_FlareDeform( drawSurf_t* surf )
|
|||
if( srcTri->numVerts != 4 || srcTri->numIndexes != 6 )
|
||||
{
|
||||
// FIXME: temp hack for flares on tripleted models
|
||||
#if !defined( ID_RETAIL )
|
||||
common->Warning( "R_FlareDeform: not a single quad" );
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue