123456789101112131415161718 |
- #include "callbacks.h"
- void error_callback(int error, const char* description)
- {
- spdlog::error("Error: {}\n", description);
- }
- void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
- {
- }
- void framebuffer_size_callback(GLFWwindow* window, int width, int height)
- {
- (void)window;
- glViewport(0, 0, width, height);
- }
|