From 2735eb58078fe5351d346c7b2c40c465366194a1 Mon Sep 17 00:00:00 2001 From: Mars Date: Mon, 30 Sep 2024 16:50:58 -0400 Subject: [PATCH] i think its better to just use the full namespace here --- src/main.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f322923..74c9dd8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -61,16 +61,14 @@ class VulkanApp { }; fn initWindow() -> void { - using namespace vkfw; + mGLFWInstance = vkfw::initUnique(); - mGLFWInstance = initUnique(); + vkfw::WindowHints hints; - WindowHints hints; - - hints.clientAPI = ClientAPI::eNone; + hints.clientAPI = vkfw::ClientAPI::eNone; hints.resizable = false; - mWindow = createWindowUnique(WIDTH, HEIGHT, "Vulkan", hints); + mWindow = vkfw::createWindowUnique(WIDTH, HEIGHT, "Vulkan", hints); } fn initVulkan() -> void {