diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-27 19:21:12 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-27 19:21:12 +0000 |
commit | 354d7df4d2779ed7391701d1ef4344e959b64582 (patch) | |
tree | 81ecdc8d323cae78a86fb9c99524f57c705eeabc /yage/render/spritebatch.h | |
parent | f949692714e72a0e2d45ebb6a5d698424ab71dee (diff) | |
download | YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.tar.gz YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.zip |
[Broken] Texture is black.
Diffstat (limited to 'yage/render/spritebatch.h')
-rw-r--r-- | yage/render/spritebatch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yage/render/spritebatch.h b/yage/render/spritebatch.h index c018bdc6..e82268b8 100644 --- a/yage/render/spritebatch.h +++ b/yage/render/spritebatch.h @@ -10,7 +10,8 @@ #define YAGE_SPRITE_BATCH_H #include "batch.h" -#include "vertex.h" +#include "../data/vertex.h" +#include "../data/renderbatch.h" #include <glad/glad.h> #include <glm/glm.hpp> @@ -48,7 +49,7 @@ public: }; -class SpriteBatch : public Batch +class SpriteBatch { public: static const int NUM_VERTICES = 6; |