X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.h;fp=source%2Fcore%2Ftexture2d.h;h=877555c0f5ba43d4cdefb5a78af34225cc2e4756;hb=7b569bbfcfb65d8d88b47ac42ee1df6a7d27e784;hp=8f5c9b21df7df778559e2f52e40bf10bd841144a;hpb=bea2bcf1aa353b1dd8d1728931ef0508677bd2c6;p=libs%2Fgl.git diff --git a/source/core/texture2d.h b/source/core/texture2d.h index 8f5c9b21..877555c0 100644 --- a/source/core/texture2d.h +++ b/source/core/texture2d.h @@ -56,19 +56,11 @@ public: undefined. If storage has already been allocated, does nothing. */ void allocate(unsigned level); -private: - void allocate_(unsigned level); - -public: /** Updates the contents of the entire texture. Storage must be defined beforehand. The image data must have dimensions and format matching the defined storage. */ virtual void image(unsigned level, const void *data); -private: - void image_(unsigned level, const void *data); - -public: DEPRECATED void image(unsigned level, PixelComponents fmt, DataType type, const void *data); /** Updates a rectangular region of the texture. Storage must be defined