From 1314f696a7861f3b1509c7f5c27d6b06bc22d5f1 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Tue, 26 Jan 2021 23:12:49 +0100 Subject: Split vkinstance/vkdevice of renderer into context class --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index a91e9e5..24d4c53 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,6 +7,7 @@ #include "thirdparty/renderdoc.h" #include "vk-renderer.hpp" +#include "window.hpp" #include "utils.hpp" #include "defines.hpp" @@ -126,7 +127,7 @@ int main() { if(rdoc_api) rdoc_api->StartFrameCapture(NULL, NULL); if (canRender) { - renderer.compute(); + renderer.compute(width, height); } // stop the capture -- cgit v1.3