summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 999cfcc..aa304e8 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1,11 +1,6 @@
#define GLFW_INCLUDE_NONE
#define GLFW_INCLUDE_VULKAN
-#include <cstring>
-#include <cstdio>
-#include <vector>
-#include <cassert>
-
#include "window.hpp"
#define NELEMS(x) (sizeof(x) / sizeof((x)[0]))
@@ -995,8 +990,6 @@ VkShaderModule UploadShader(AssetHandle handle) {
return vkShaderModule;
}
-void PreRender() {}
-
void Render() {
vkWaitForFences(vkDevice, 1, &presentInFlightFences[CURRENT_FRAME], VK_TRUE, UINT64_MAX);
@@ -1055,5 +1048,3 @@ void Render() {
CURRENT_FRAME = (CURRENT_FRAME + 1) % MAX_FRAMES_IN_FLIGHT;
}
-void PostRender() {}
-