From bdcc81822adddf2c6ad7f10d9e090d913475c1e0 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sun, 28 Mar 2021 13:24:52 -0700 Subject: Initial code structure --- core/src/Entrypoint/Common.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 core/src/Entrypoint/Common.cpp (limited to 'core/src/Entrypoint/Common.cpp') 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 + +GLFWwindow* RenderingBackend::GetWindow() const { + return mWindow; +} + +void RenderingBackend::GlfwErrorCallback(int error, const char* message) { + std::cerr << "GLFW Error " << error << ": " << message << "\n"; +} -- cgit v1.2.3-70-g09d2