From 39ca43ca3b24dcae76e1283ec8af4a16c845e2b7 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 20 Sep 2017 00:29:45 +0100 Subject: More tests and adding spritesheet support --- yage/base/texture.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'yage/base/texture.h') diff --git a/yage/base/texture.h b/yage/base/texture.h index d1fdcbf2..3688bf04 100644 --- a/yage/base/texture.h +++ b/yage/base/texture.h @@ -18,6 +18,11 @@ struct Texture { GLuint id; int width; int height; + + Texture(GLuint id_i, int width_i, int height_i) + : id(id_i), width(width_i), height(height_i) + { + } }; } // namespace yage -- cgit