diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-07 22:41:55 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-07 22:41:55 +0100 |
commit | 6d410918675effd76c5b30f6dbe5b6f4b9154708 (patch) | |
tree | 0be71c70001c5fbfaf9766e961b909825cf4f7eb /include | |
parent | afe623ba793f9f4c51f94abe6464020d22387c9d (diff) | |
download | YAGE-6d410918675effd76c5b30f6dbe5b6f4b9154708.tar.gz YAGE-6d410918675effd76c5b30f6dbe5b6f4b9154708.zip |
fixed spritebatch
Diffstat (limited to 'include')
-rw-r--r-- | include/YAGE/spritebatch.hpp | 8 |
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 |