Got OpenGL window to render for gamestate. Had to include gl3w.c since it didn't compile to a library, so it's easier just to add it to the project.
This commit is contained in:
20
include/render.hpp
Normal file
20
include/render.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef OUR_DICK_RENDER_HPP
|
||||
#define OUR_DICK_RENDER_HPP
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define OPENFL_VERSION 400
|
||||
#define GLSL_VERSION 400
|
||||
|
||||
class RenderManager
|
||||
{
|
||||
public:
|
||||
RenderManager (RenderManager&) = delete;
|
||||
RenderManager (RenderManager&&) = delete;
|
||||
|
||||
RenderManager();
|
||||
bool Init(uint16_t width, uint16_t height, const char* title); // Sets up the OpenGL environment
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user