summaryrefslogtreecommitdiff
path: root/core/src/Entrypoint/Common.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-03-28 15:13:05 -0700
committerrtk0c <[email protected]>2021-03-28 15:31:35 -0700
commita7e5e42a188f9e6ab13706a15e6b50f36f0e00e8 (patch)
tree61545e68e1186be3900303ded6d12086c345af3f /core/src/Entrypoint/Common.cpp
parentbdcc81822adddf2c6ad7f10d9e090d913475c1e0 (diff)
Fix backend compiling/loading mechanism
Diffstat (limited to 'core/src/Entrypoint/Common.cpp')
-rw-r--r--core/src/Entrypoint/Common.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/src/Entrypoint/Common.cpp b/core/src/Entrypoint/Common.cpp
index 62baf9d..c949830 100644
--- a/core/src/Entrypoint/Common.cpp
+++ b/core/src/Entrypoint/Common.cpp
@@ -1,11 +1,14 @@
#include "Common.hpp"
+#include <backend/imgui_impl_glfw.h>
#include <iostream>
+#include <backend/imgui_impl_glfw.cpp>
+
GLFWwindow* RenderingBackend::GetWindow() const {
- return mWindow;
+ return mWindow;
}
void RenderingBackend::GlfwErrorCallback(int error, const char* message) {
- std::cerr << "GLFW Error " << error << ": " << message << "\n";
+ std::cerr << "GLFW Error " << error << ": " << message << "\n";
}