From 62a1427154131f2387675957c1d2027061f354f0 Mon Sep 17 00:00:00 2001 From: Andrew Reidmeyer Date: Tue, 13 Jun 2017 20:38:29 -0600 Subject: NvFlow 1.0.1 --- demo/DemoApp/sceneSDF.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demo/DemoApp/sceneSDF.cpp') diff --git a/demo/DemoApp/sceneSDF.cpp b/demo/DemoApp/sceneSDF.cpp index 301e260..1e6ad08 100644 --- a/demo/DemoApp/sceneSDF.cpp +++ b/demo/DemoApp/sceneSDF.cpp @@ -138,7 +138,7 @@ void SceneSDFTest::init(AppGraphCtx* appctx, int winw, int winh) void SceneSDFTest::doUpdate(float dt) { - bool shouldUpdate = m_flowContext.updateBegin(); + bool shouldUpdate = m_flowContext.updateBegin(dt); if (shouldUpdate) { AppGraphCtxProfileBegin(m_appctx, "Simulate"); @@ -285,7 +285,7 @@ void SceneCustomLighting::init(AppGraphCtx* context, int winw, int winh) void SceneCustomLighting::doUpdate(float dt) { - bool shouldUpdate = m_flowContext.updateBegin(); + bool shouldUpdate = m_flowContext.updateBegin(dt); if (shouldUpdate) { ComputeContextNvFlowContextUpdate(m_computeContext, m_flowContext.m_renderContext); -- cgit v1.2.3