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 {
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue