summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestApp.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-31 23:45:18 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-31 23:45:18 +0000
commitba7b40284d98e893d4e8119c65d1d89c6a7091cf (patch)
tree9593bb5a4a39e7362943aa332016236a6a685c23 /Tests/TestApp/src/TestApp.cpp
parentUpdated samples submodule (implemented switching to fullscreen in sample apps) (diff)
downloadDiligentEngine-ba7b40284d98e893d4e8119c65d1d89c6a7091cf.tar.gz
DiligentEngine-ba7b40284d98e893d4e8119c65d1d89c6a7091cf.zip
Added sync interval to Present.
Fixed https://github.com/DiligentGraphics/DiligentEngine/issues/10
Diffstat (limited to 'Tests/TestApp/src/TestApp.cpp')
-rw-r--r--Tests/TestApp/src/TestApp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp
index 4994c69..3b96cf0 100644
--- a/Tests/TestApp/src/TestApp.cpp
+++ b/Tests/TestApp/src/TestApp.cpp
@@ -543,5 +543,5 @@ void TestApp::Render()
void TestApp::Present()
{
- m_pSwapChain->Present();
+ m_pSwapChain->Present(0);
}