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:
ATLAS_Moon
2020-08-15 14:12:30 +00:00
parent e21298b2f8
commit df3305dfa6
11 changed files with 907 additions and 1 deletions

20
include/render.hpp Normal file
View 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