diff options
Diffstat (limited to 'core/src/Entrypoint/Common.cpp')
-rw-r--r-- | core/src/Entrypoint/Common.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/src/Entrypoint/Common.cpp b/core/src/Entrypoint/Common.cpp new file mode 100644 index 0000000..62baf9d --- /dev/null +++ b/core/src/Entrypoint/Common.cpp @@ -0,0 +1,11 @@ +#include "Common.hpp" + +#include <iostream> + +GLFWwindow* RenderingBackend::GetWindow() const { + return mWindow; +} + +void RenderingBackend::GlfwErrorCallback(int error, const char* message) { + std::cerr << "GLFW Error " << error << ": " << message << "\n"; +} |