]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture2d.h
Add vertex arrays and buffers
[libs/gl.git] / source / texture2d.h
index 86c2a89bccb700b87e0424aa7599a17fdc7d7337..ef6261cb98678d7efdfb24f0934e06453f0cbc0e 100644 (file)
@@ -14,7 +14,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