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

26 lines
380 B
C
Raw Normal View History

2021-05-26 18:39:40 +04:30
#pragma once
#include "Base.h"
#include "Graphics/GraphicsContext.h"
struct GLFWwindow;
namespace Light {
2021-06-01 11:23:41 +04:30
class WindowResizedEvent;
2021-05-26 18:39:40 +04:30
class glGraphicsContext : public GraphicsContext
{
private:
GLFWwindow* m_WindowHandle;
public:
glGraphicsContext(GLFWwindow* windowHandle);
2021-05-31 23:28:29 +04:30
2021-06-01 11:23:41 +04:30
virtual void LogDebugData() override;
2021-05-31 23:28:29 +04:30
private:
void SetDebugMessageCallback();
2021-05-26 18:39:40 +04:30
};
}