diff options
Diffstat (limited to 'yage/core/texture.h')
-rw-r--r-- | yage/core/texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yage/core/texture.h b/yage/core/texture.h index 6f61afd3..85f74647 100644 --- a/yage/core/texture.h +++ b/yage/core/texture.h @@ -19,7 +19,7 @@ struct Texture { int width; int height; - Texture() = default; + Texture() : id(0), width(0), height(0) {} Texture(GLuint id_i, int width_i, int height_i) : id(id_i), width(width_i), height(height_i) |