From 18dd6722d1c4b14dfe322b036b6e4fa1281b4712 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 11 Jan 2021 23:16:49 +0100 Subject: Path tracer write to the swapchain image --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') 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; -- cgit v1.3