aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/YAGE/spritebatch.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/YAGE/spritebatch.hpp b/include/YAGE/spritebatch.hpp
index 3f40a009..c5a55b17 100644
--- a/include/YAGE/spritebatch.hpp
+++ b/include/YAGE/spritebatch.hpp
@@ -11,6 +11,8 @@
namespace yage
{
+class SpriteBatch;
+
class Glyph
{
// member variables
@@ -36,11 +38,11 @@ public:
class RenderBatch
{
+ friend SpriteBatch;
// member variables
-public:
- GLint offset_;
private:
- GLsizei num_vertices_;
+ GLsizei num_vertices_;
+ GLint offset_;
GLuint texture_;
// member functions