test
This commit is contained in:
1 parent
178c9d9e50
commit
c6d6aab2c7
2 files changed
+3
-3
No files matched your search
@@ -7,8 +7,8 @@
|
|||||||
namespace veng {
|
namespace veng {
|
||||||
|
|
||||||
Window::Window(gsl::czstring name, glm::ivec2 size) {
|
Window::Window(gsl::czstring name, glm::ivec2 size) {
|
||||||
/*glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
|
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
|
||||||
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);*/
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
|
||||||
|
|
||||||
window_ = glfwCreateWindow(size.x, size.y, name, nullptr, nullptr);
|
window_ = glfwCreateWindow(size.x, size.y, name, nullptr, nullptr);
|
||||||
if (window_ == nullptr) std::exit(EXIT_FAILURE);
|
if (window_ == nullptr) std::exit(EXIT_FAILURE);
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ std::int32_t main(std::int32_t argc, gsl::zstring* argv) {
|
|||||||
const veng::GlfwInitialization _glfw;
|
const veng::GlfwInitialization _glfw;
|
||||||
|
|
||||||
veng::Window window("Vulkan Engine", {800, 600});
|
veng::Window window("Vulkan Engine", {800, 600});
|
||||||
window.TryMoveToMonitor(0);
|
//window.TryMoveToMonitor(0);
|
||||||
|
|
||||||
veng::Graphics graphics(&window);
|
veng::Graphics graphics(&window);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user