Fix dirty check

This commit is contained in:
luboslenco
2019-08-02 15:36:01 +02:00
parent fc91a35195
commit 2b9410b019
+1 -2
View File
@@ -705,8 +705,7 @@ class RenderPathDeferred {
}
#if kha_direct3d12
if (iron.system.Input.getMouse().down("left") ||
iron.system.Input.getMouse().down("right")) {
if (Context.ddirty > 1 || Context.pdirty > 0) {
RenderPathRaytrace.frame = 1.0;
}
RenderPathRaytrace.commands();