X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Ftexture.h;fp=src%2Ftexture.h;h=5c4bf3c7825d16209a21d80d630a756938c09d93;hp=5e18e7a98cf4ad2fc1e131221fa592ff0c43e601;hb=6b2ad3e55ddd0770ccd763a84c18657b12750a0e;hpb=51fde62020614e8d942f28572efe1ba4fefd6a50 diff --git a/src/texture.h b/src/texture.h index 5e18e7a..5c4bf3c 100644 --- a/src/texture.h +++ b/src/texture.h @@ -42,6 +42,8 @@ public: unsigned int get_format() const; int get_size(int dim) const; + int get_width() const; + int get_height() const; void create(int xsz, int ysz, TextureType type = TEX_2D, unsigned int ifmt = GL_RGBA); void create_default(TextureType type = TEX_2D);