X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.h;h=7b88db50d36f6afed388d2cae9dd61685a5204ac;hp=3538f6bba82018b85edd68a69f6686c52e991460;hb=ada4b7614137221b64a00f31fde1498064e9fb19;hpb=6065f6622cc275dc0b20baaf7c267e71169d18f3 diff --git a/source/core/texture3d.h b/source/core/texture3d.h index 3538f6bb..7b88db50 100644 --- a/source/core/texture3d.h +++ b/source/core/texture3d.h @@ -33,7 +33,6 @@ protected: unsigned height; unsigned depth; unsigned levels; - unsigned allocated; Texture3D(GLenum); public: @@ -46,10 +45,6 @@ public: it can't be changed. */ void storage(PixelFormat fmt, unsigned wd, unsigned ht, unsigned dp, unsigned lv = 0); - /** Allocates storage for the texture. The contents are initially - undefined. If storage has already been allocated, does nothing. */ - void allocate(unsigned level); - /** Updates the contents of the entire texture. Storage must be defined beforehand. The image data must have dimensions and format matching the defined storage. */