aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-03-05 00:06:25 +0100
committerladevieq <ladevie.quentin@gmail.com>2021-03-05 00:06:25 +0100
commit2218ad410c01c8e3ea8416dd019d0c3072fbb1cf (patch)
treec7a9db529253265db65942d3981273fbe7678ed5 /src/main.cpp
parent4460f6d85730cb630dda4be2ebe47fcf13478d58 (diff)
Fix imgui vertices rendering
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
//-------------------------