From 2218ad410c01c8e3ea8416dd019d0c3072fbb1cf Mon Sep 17 00:00:00 2001 From: ladevieq Date: Fri, 5 Mar 2021 00:06:25 +0100 Subject: Fix imgui vertices rendering --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 4db8f55..b824fd4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -133,7 +133,7 @@ int main() { // You can specify NULL, NULL for the device to capture on if you have only one device and // either no windows at all or only one window, and it will capture from that device. // See the documentation below for a longer explanation - if(rdoc_api) rdoc_api->StartFrameCapture(NULL, NULL); + // if(rdoc_api) rdoc_api->StartFrameCapture(NULL, NULL); if (canRender) { renderer.begin_frame(); @@ -150,7 +150,7 @@ int main() { } // stop the capture - if(rdoc_api) rdoc_api->EndFrameCapture(NULL, NULL); + // if(rdoc_api) rdoc_api->EndFrameCapture(NULL, NULL); } //------------------------- -- cgit v1.3