diff --git a/include/QF/sys.h b/include/QF/sys.h index f93432d65..4dd61bacd 100644 --- a/include/QF/sys.h +++ b/include/QF/sys.h @@ -97,6 +97,7 @@ void Sys_MaskPrintf (int mask, const char *fmt, ...) __attribute__((format(print #define SYS_GLSL (1|2048) #define SYS_SKIN (1|4096) #define SYS_MODEL (1|8192) +#define SYS_VULKAN (1|16384) int Sys_CheckInput (int idle, int net_socket); const char *Sys_ConsoleInput (void); diff --git a/libs/video/renderer/vulkan/init.c b/libs/video/renderer/vulkan/init.c index eba6fa4be..19091bb8a 100644 --- a/libs/video/renderer/vulkan/init.c +++ b/libs/video/renderer/vulkan/init.c @@ -102,7 +102,7 @@ get_instance_layers_and_extensions (vulkan_ctx_t *ctx) } instanceExtensionNames[i] = 0; - if (developer->int_val & SYS_VID) { + if (developer->int_val & SYS_VULKAN) { for (i = 0; i < numLayers; i++) { Sys_Printf ("%s %x %u %s\n", properties[i].layerName, @@ -154,7 +154,7 @@ init_physdev (VulkanInstance_t *instance, VkPhysicalDevice dev, VulkanPhysDevice &physdev->numQueueFamilies, physdev->queueFamilies); - if (developer->int_val & SYS_VID) { + if (developer->int_val & SYS_VULKAN) { VkPhysicalDeviceProperties *prop = &physdev->properties; Sys_Printf ("dev: %p\n", dev); Sys_Printf (" %x %x\n", prop->apiVersion, prop->driverVersion);