Fix SV-2179: Wireframe - Rendering. Works only when Adv.light.model is disabled.

(Don't toggle ALM while in wireframe, bad things will happen...
or do, who am I to tell you how to live your life?
It'll look pretty cool actually, to fix that noise just toggle Wireframe once or twice.)
This commit is contained in:
Lirusaito
2018-07-15 06:26:04 -04:00
parent ca2477a521
commit c056eacfab
3 changed files with 20 additions and 0 deletions

View File

@@ -1689,6 +1689,8 @@ class LLAdvancedToggleWireframe : public view_listener_t
// [/RLVa:KB]
// gUseWireframe = !(gUseWireframe);
// gWindowResized = TRUE; // Singu Note: We don't use this (yet?)
LLPipeline::updateRenderDeferred();
gPipeline.resetVertexBuffers();
// return true;
}