23 lines
501 B
C++
23 lines
501 B
C++
#include <GLFW/glfw3.h>
|
|
|
|
#include "glfw/glfw_initialization.h"
|
|
#include "glfw/glfw_monitor.h"
|
|
#include "glfw/glfw_window.h"
|
|
#include "vulkan/graphics.h"
|
|
|
|
std::int32_t main(std::int32_t argc, gsl::zstring* argv) {
|
|
const veng::GlfwInitialization _glfw;
|
|
|
|
veng::Window window("Vulkan Engine", {800, 600});
|
|
window.TryMoveToMonitor(0);
|
|
|
|
veng::Graphics graphics(&window);
|
|
|
|
while (!window.ShouldClose()) {
|
|
glfwSwapBuffers(window.GetHandle());
|
|
glfwPollEvents();
|
|
}
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|