diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-18 14:40:23 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-18 14:40:23 -0400 |
commit | 0869328b12ff9b77000915f37443dcf2468d881e (patch) | |
tree | 1e9e4d5ca43661a4aca8f5052f1ba67d23b9d955 /src/render.hpp | |
parent | 0e7f7791fd592f0240a30168a9a570c57b0f5880 (diff) | |
parent | 8b834d0440f85a452694fb5cbb2cd9f4dae07aa2 (diff) |
Added UI rendering support to render loop, although fonts don't render yet
Diffstat (limited to 'src/render.hpp')
-rw-r--r-- | src/render.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.hpp b/src/render.hpp index eabf4be..88668cc 100644 --- a/src/render.hpp +++ b/src/render.hpp @@ -64,6 +64,7 @@ private: SDL_GLContext context; Shader worldShader; + Shader uiShader; glm::vec3 camPos; // Map of VBOs and their render data @@ -74,7 +75,6 @@ private: GLuint worldTexture = 0; GLuint worldNormal = 0; entityx::Entity player; // Save the player so we can track the camera - public: RenderSystem() : window(nullptr, SDL_DestroyWindow) {} |