basic imgui integration
This commit is contained in:
@@ -72,4 +72,8 @@ bool peripherals_glfw::should_close() {
|
||||
return glfwWindowShouldClose(window);
|
||||
}
|
||||
|
||||
GLFWwindow *peripherals_glfw::get_window() const {
|
||||
return window;
|
||||
}
|
||||
|
||||
END_NAMESPACE
|
||||
@@ -13,6 +13,7 @@ public:
|
||||
void swap_buffers() override;
|
||||
void poll_events() override;
|
||||
bool should_close() override;
|
||||
GLFWwindow* get_window() const;
|
||||
|
||||
::GLFWwindow *window;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user