diff options
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) { |