aboutsummaryrefslogtreecommitdiffstats
path: root/yage/base/texture.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-09-25 17:46:30 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-09-25 17:46:30 +0100
commit5e6067f74e7ac072656f11ead0f22ec7f8e9c525 (patch)
treeca9e3758832d68ea1d9cf531c48d1962532d8dfa /yage/base/texture.h
parent619746d51e91f02e7c5327f0c65ebb5952632bc7 (diff)
downloadYAGE-5e6067f74e7ac072656f11ead0f22ec7f8e9c525.tar.gz
YAGE-5e6067f74e7ac072656f11ead0f22ec7f8e9c525.zip
Testing spritesheet
Diffstat (limited to 'yage/base/texture.h')
-rw-r--r--yage/base/texture.h2
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)
{