light/Engine/src/Platform/GraphicsAPI/OpenGL/glGraphicsContext.hpp

24 lines
361 B
C++
Raw Normal View History

2022-03-08 21:19:19 +03:30
#pragma once
#include "Base/Base.hpp"
#include "Graphics/GraphicsContext.hpp"
struct GLFWwindow;
namespace Light {
class glGraphicsContext: public GraphicsContext
{
private:
GLFWwindow* m_WindowHandle;
public:
glGraphicsContext(GLFWwindow* windowHandle);
void LogDebugData() override;
private:
void SetDebugMessageCallback();
};
} // namespace Light