Workaround for erebus1 crash in debug mode on Linux

This commit is contained in:
Daniel Gibson 2012-12-30 16:24:12 +01:00
parent edb4856abd
commit 478d7e4f6e

View file

@ -178,7 +178,13 @@ void RB_DrawElementsWithCounters( const drawSurf_t* surf )
if( surf->jointCache )
{
if( !verify( renderProgManager.ShaderUsesJoints() ) )
// DG: this happens all the time in the erebus1 map with blendlight.vfp,
// so don't call assert (through verify) here until it's fixed (if fixable)
// else the game crashes on linux when using debug builds
// FIXME: fix this properly if possible?
//if( !verify( renderProgManager.ShaderUsesJoints() ) )
if( ! renderProgManager.ShaderUsesJoints() )
// DG end
{
return;
}