Fix for crash when enabling Debug GL and rendering deferred impostors.
parent
78cc321127
commit
85fb9f5c09
|
|
@ -334,7 +334,14 @@ void LLDrawPoolAvatar::renderPostDeferred(S32 pass)
|
|||
9, //rigged glow
|
||||
};
|
||||
|
||||
render(actual_pass[pass]);
|
||||
pass = actual_pass[pass];
|
||||
|
||||
if (LLPipeline::sImpostorRender)
|
||||
{ //HACK for impostors so actual pass ends up being proper pass
|
||||
pass -= 2;
|
||||
}
|
||||
|
||||
render(pass);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue