]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture2d.h
Add Id tags and copyright notices to files
[libs/gl.git] / source / texture2d.h
index 86c2a89bccb700b87e0424aa7599a17fdc7d7337..e06ea920a1aff896f7c1c50ed1f87fac75e7b007 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef MSP_GL_TEXTURE2D_H_
 #define MSP_GL_TEXTURE2D_H_
 
@@ -14,7 +21,11 @@ public:
        void image(int, int, sizei, sizei, int, GLenum, GLenum, void *);
        void image(int, sizei, sizei, TextureFormat, void *);
        void image(const std::string &);
+       sizei get_width() const  { return width_; }
+       sizei get_height() const { return height_; }
 private:
+       sizei width_;
+       sizei height_;
 };
 
 } // namespace GL