Added back workaround in RB_DrawElementsWithCounters

This commit is contained in:
Robert Beckebans 2013-04-10 02:40:09 +02:00
parent d176bca1e7
commit e7ffc153c2

View file

@ -179,7 +179,15 @@ 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?
// RB: yes but it would require an additional blend light skinned shader
//if( !verify( renderProgManager.ShaderUsesJoints() ) )
if( !renderProgManager.ShaderUsesJoints() )
// DG end
{
return;
}