mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 08:51:57 +00:00
Workaround for erebus1 crash in debug mode on Linux
This commit is contained in:
parent
edb4856abd
commit
478d7e4f6e
1 changed files with 7 additions and 1 deletions
|
@ -178,7 +178,13 @@ void RB_DrawElementsWithCounters( const drawSurf_t* surf )
|
||||||
|
|
||||||
if( surf->jointCache )
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue