summaryrefslogtreecommitdiffstats
path: root/examples/example-base/example-base.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-12-07 13:45:49 -0800
committerGitHub <noreply@github.com>2021-12-07 13:45:49 -0800
commit90d8af888b40c83b33f9f0c037bd2ab8c19a35f4 (patch)
tree21ada472ea0d768352f46da7db64f9dc449d1209 /examples/example-base/example-base.h
parent646eecc6af878ea7682c814c15b4e838c3231ee3 (diff)
gfx: D3D12 and VK Fence implementation. (#2048)
* gfx: D3D12 and VK Fence implementation. * Fix. * Update project files. * Revert project file changes. * Remove project files Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'examples/example-base/example-base.h')
-rw-r--r--examples/example-base/example-base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-base/example-base.h b/examples/example-base/example-base.h
index b898f7417..49c992ca3 100644
--- a/examples/example-base/example-base.h
+++ b/examples/example-base/example-base.h
@@ -40,7 +40,7 @@ protected:
virtual void renderFrame(int framebufferIndex) = 0;
public:
platform::Window* getWindow() { return gWindow.Ptr(); }
- virtual void finalize() { gQueue->wait(); }
+ virtual void finalize() { gQueue->waitOnHost(); }
};
int64_t getCurrentTime();