inexorgame / vulkan-renderer

A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
https://inexor.org
MIT License
790 stars 34 forks source link

[renderer] Combine the GLFW context with the window #422

Closed yeetari closed 2 years ago

yeetari commented 3 years ago

It seems unlikely that we'll ever have more than one GLFW window, so this commit simplifies things by moving the glfwInit and glfwTerminate calls to the Window class. Also remove the move constructor and move operator from Window as they seem not very useful.

IAmNotHanni commented 3 years ago

I rebased it onto master.