diff options
Diffstat (limited to 'core/src/Entrypoint/Common.hpp')
-rw-r--r-- | core/src/Entrypoint/Common.hpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/core/src/Entrypoint/Common.hpp b/core/src/Entrypoint/Common.hpp deleted file mode 100644 index 216c885..0000000 --- a/core/src/Entrypoint/Common.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include <glad/glad.h> -#include <GLFW/glfw3.h> - -class RenderingBackend { -protected: - GLFWwindow* mWindow; - -public: - virtual ~RenderingBackend() = default; - virtual void BeginFrame() = 0; - virtual void EndFrame() = 0; - - GLFWwindow* GetWindow() const; - - /// Common GLFW error handle callback for each rendering backend to use. - static void GlfwErrorCallback(int error, const char* message); -}; |