i think its better to just use the full namespace here

This commit is contained in:
Mars 2024-09-30 16:50:58 -04:00
parent ffd3f44464
commit 2735eb5807
Signed by untrusted user: pupbrained
GPG key ID: 874E22DF2F9DFCB5

View file

@ -61,16 +61,14 @@ class VulkanApp {
}; };
fn initWindow() -> void { fn initWindow() -> void {
using namespace vkfw; mGLFWInstance = vkfw::initUnique();
mGLFWInstance = initUnique(); vkfw::WindowHints hints;
WindowHints hints; hints.clientAPI = vkfw::ClientAPI::eNone;
hints.clientAPI = ClientAPI::eNone;
hints.resizable = false; hints.resizable = false;
mWindow = createWindowUnique(WIDTH, HEIGHT, "Vulkan", hints); mWindow = vkfw::createWindowUnique(WIDTH, HEIGHT, "Vulkan", hints);
} }
fn initVulkan() -> void { fn initVulkan() -> void {