aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-01-11 23:16:49 +0100
committerladevieq <ladevie.quentin@gmail.com>2021-01-11 23:16:49 +0100
commit18dd6722d1c4b14dfe322b036b6e4fa1281b4712 (patch)
tree09dd829a5bdf4f4e69f6d2b66d58584c182c42a7 /src/main.cpp
parent843dbf7d8dca95883e563d3ba5c20d6b1ee7fd90 (diff)
Path tracer write to the swapchain image
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 00fcbb1..480d139 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -86,6 +86,10 @@ int main() {
window wnd { width , height };
vkrenderer renderer { wnd };
+
+ if(rdoc_api) rdoc_api->StartFrameCapture(NULL, NULL);
+ renderer.initialization_frame();
+
const uint32_t samples_per_pixel = 1;
const uint32_t max_depth = 1;