해결 안됨... 아마 화면에 아무것도 그리지 않아서인것 같은데 나중에 해결될 수도?
This commit is contained in:
@@ -9,15 +9,11 @@ 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);
|
||||
window.TryMoveToMonitor(0);
|
||||
|
||||
//veng::Graphics graphics(&window);
|
||||
|
||||
glfwMakeContextCurrent(window.GetHandle());
|
||||
//glClearColor(0.4f, 0.3f, 0.4f, 0.0f);
|
||||
veng::Graphics graphics(&window);
|
||||
|
||||
while (!window.ShouldClose()) {
|
||||
//glClear(GL_COLOR_BUFFER_BIT);
|
||||
glfwSwapBuffers(window.GetHandle());
|
||||
glfwPollEvents();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user