X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture3d.h;h=55a0e3dbe8ec4ce214bdc56f5532655160965b58;hp=75ae0fe902acb1eb8974591df86b67c9505e5fb3;hb=55dbeb5e04516699b8415104e346243d5e4c48c9;hpb=ccbfdfa0d9d796244b1ecc0fa3faa2c50304811b diff --git a/source/texture3d.h b/source/texture3d.h index 75ae0fe9..55a0e3db 100644 --- a/source/texture3d.h +++ b/source/texture3d.h @@ -33,6 +33,8 @@ private: unsigned depth; unsigned allocated; +protected: + Texture3D(GLenum); public: Texture3D(); @@ -82,7 +84,7 @@ public: unsigned get_width() const { return width; } unsigned get_height() const { return height; } unsigned get_depth() const { return depth; } -private: +protected: void get_level_size(unsigned, unsigned &, unsigned &, unsigned &); public: