aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-01-26 23:12:49 +0100
committerladevieq <ladevie.quentin@gmail.com>2021-01-26 23:12:49 +0100
commit1314f696a7861f3b1509c7f5c27d6b06bc22d5f1 (patch)
treedc438e1fe4f9c5503f984c00cac190a2cdb6268f /src/main.cpp
parentd3b08c7e8bf808281e32fdef5e5222fb6633a5d0 (diff)
Split vkinstance/vkdevice of renderer into context class
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
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