more things

This commit is contained in:
Mars 2024-09-30 21:34:25 -04:00
parent 10af83237f
commit aadf46f066
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -1,11 +1,6 @@
#define GLFW_INCLUDE_NONE
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include <cstdlib>
#include <fmt/format.h>
#include <iostream>
#include <set>
#include <stdexcept>
#ifdef __APPLE__
#define VK_ENABLE_BETA_EXTENSIONS
@ -69,7 +64,7 @@ class VulkanApp {
vkfw::WindowHints hints;
hints.clientAPI = vkfw::ClientAPI::eNone;
hints.resizable = false;
hints.resizable = vkfw::eFalse;
mWindow = vkfw::createWindowUnique(WIDTH, HEIGHT, "Vulkan", hints);
}
@ -276,7 +271,7 @@ class VulkanApp {
) -> vk::Bool32 {
fmt::println("Validation layer: {}", pCallbackData->pMessage);
return VK_FALSE;
return vk::False;
}
};