Skip to content

Commit

Permalink
Fix mrvux#358
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander committed May 24, 2019
1 parent 71882b1 commit 19504cd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class IndexIndirectDrawerBufferNode : IPluginEvaluate, IDX11ResourceHost
[Output("Geometry Out")]
protected ISpread<DX11Resource<DX11IndexedGeometry>> FOutGeom;

bool invalidate = false;
bool invalidate;

public void Evaluate(int SpreadMax)
{
Expand Down Expand Up @@ -82,8 +82,6 @@ public void Update(DX11RenderContext context)
geom.AssignDrawer(ind);

ind.Update(context, this.FInCnt[i]);

this.invalidate = false;
}
else
{
Expand Down Expand Up @@ -111,6 +109,8 @@ public void Update(DX11RenderContext context)
this.FOutGeom[i][context] = geom;
}

this.invalidate = false;

}

public void Destroy(DX11RenderContext OnDevice, bool force)
Expand Down

0 comments on commit 19504cd

Please sign in to comment.