summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/graphics.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/graphics.cc b/src/graphics.cc
index dc81041..94a637f 100644
--- a/src/graphics.cc
+++ b/src/graphics.cc
@@ -4,19 +4,13 @@
#include "utils.h"
-#define WAYC_APP_NAME ""
-#define WAYC_APP_VERSION 0
-
enum graphics_error_e wayc_graphics_init(struct graphics_s* graphics) {
wayc_notnull(graphics);
memset(graphics, 0, sizeof(*graphics));
VkApplicationInfo appinfo = {};
appinfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
- appinfo.pApplicationName = WAYC_APP_NAME;
- appinfo.applicationVersion = WAYC_APP_VERSION;
- appinfo.pEngineName = WAYC_APP_NAME;
- appinfo.engineVersion = WAYC_APP_VERSION;
+ appinfo.apiVersion = VK_API_VERSION_1_3;
VkInstanceCreateInfo createinfo = {};
createinfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;