test
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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