forked from pupbrained/vulkan-test
i think its better to just use the full namespace here
This commit is contained in:
parent
ffd3f44464
commit
2735eb5807
10
src/main.cpp
10
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 {
|
||||
|
|
Loading…
Reference in a new issue