mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-03 09:22:45 +00:00
Added back workaround in RB_DrawElementsWithCounters
This commit is contained in:
parent
d176bca1e7
commit
e7ffc153c2
1 changed files with 9 additions and 1 deletions
|
@ -179,7 +179,15 @@ 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?
|
||||||
|
// RB: yes but it would require an additional blend light skinned shader
|
||||||
|
//if( !verify( renderProgManager.ShaderUsesJoints() ) )
|
||||||
|
if( !renderProgManager.ShaderUsesJoints() )
|
||||||
|
// DG end
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue