aboutsummaryrefslogtreecommitdiffstats
path: root/yage/render/spritebatch.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
commit354d7df4d2779ed7391701d1ef4344e959b64582 (patch)
tree81ecdc8d323cae78a86fb9c99524f57c705eeabc /yage/render/spritebatch.h
parentf949692714e72a0e2d45ebb6a5d698424ab71dee (diff)
downloadYAGE-354d7df4d2779ed7391701d1ef4344e959b64582.tar.gz
YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.zip
[Broken] Texture is black.
Diffstat (limited to 'yage/render/spritebatch.h')
-rw-r--r--yage/render/spritebatch.h5
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;