diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-25 17:46:30 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-25 17:46:30 +0100 |
commit | 5e6067f74e7ac072656f11ead0f22ec7f8e9c525 (patch) | |
tree | ca9e3758832d68ea1d9cf531c48d1962532d8dfa /yage/base/texture.h | |
parent | 619746d51e91f02e7c5327f0c65ebb5952632bc7 (diff) | |
download | YAGE-5e6067f74e7ac072656f11ead0f22ec7f8e9c525.tar.gz YAGE-5e6067f74e7ac072656f11ead0f22ec7f8e9c525.zip |
Testing spritesheet
Diffstat (limited to 'yage/base/texture.h')
-rw-r--r-- | yage/base/texture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yage/base/texture.h b/yage/base/texture.h index cc9dc857..82b7dde3 100644 --- a/yage/base/texture.h +++ b/yage/base/texture.h @@ -19,6 +19,8 @@ struct Texture { int width; int height; + Texture() = default; + Texture(GLuint id_i, int width_i, int height_i) : id(id_i), width(width_i), height(height_i) { |