Initial late commit
This commit is contained in:
22
open_engine/include/open_engine/opengl/opengl_context.hpp
Normal file
22
open_engine/include/open_engine/opengl/opengl_context.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef OPENGL_CONTEXT_HPP
|
||||
#define OPENGL_CONTEXT_HPP
|
||||
|
||||
#include "renderer/graphics_context.hpp"
|
||||
|
||||
struct GLFWwindow;
|
||||
|
||||
namespace OpenEngine {
|
||||
class OpenGLContext : public GraphicsContext
|
||||
{
|
||||
public:
|
||||
OpenGLContext(GLFWwindow* window_handle);
|
||||
|
||||
virtual void Init() override;
|
||||
virtual void SwapBuffers() override;
|
||||
|
||||
private:
|
||||
GLFWwindow* window_handle;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // OPENGL_CONTEXT_HPP
|
||||
Reference in New Issue
Block a user