aboutsummaryrefslogtreecommitdiff
path: root/core/src/Entrypoint/Common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Entrypoint/Common.cpp')
-rw-r--r--core/src/Entrypoint/Common.cpp11
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";
+}