X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.h;fp=source%2Fcore%2Ftexture2d.h;h=b3a5a749bd8fe987b0078b8e5b6cdf47c4d9712b;hb=6065f6622cc275dc0b20baaf7c267e71169d18f3;hp=442c544e3c9a52749d5f21c16da70a2a90041875;hpb=c4aeeced7b397d46772577775bd3a0d6c4706cba;p=libs%2Fgl.git diff --git a/source/core/texture2d.h b/source/core/texture2d.h index 442c544e..b3a5a749 100644 --- a/source/core/texture2d.h +++ b/source/core/texture2d.h @@ -49,9 +49,6 @@ public: it can't be changed. */ void storage(PixelFormat fmt, unsigned wd, unsigned ht, unsigned lv = 0); - DEPRECATED void storage(PixelComponents cm, unsigned wd, unsigned ht, unsigned lv = 0) - { storage(make_pixelformat(cm, UNSIGNED_BYTE), wd, ht, lv); } - /** Allocates storage for the texture. The contents are initially undefined. If storage has already been allocated, does nothing. */ void allocate(unsigned level); @@ -61,16 +58,11 @@ public: defined storage. */ virtual void image(unsigned level, const void *data); - DEPRECATED void image(unsigned level, PixelComponents fmt, DataType type, const void *data); - /** Updates a rectangular region of the texture. Storage must be defined beforehand. The image data must be in a format mathing the defined storage and the update region must be fully inside the texture. */ void sub_image(unsigned level, int x, int y, unsigned wd, unsigned ht, const void *data); - DEPRECATED void sub_image(unsigned level, int x, int y, unsigned wd, unsigned ht, - PixelComponents fmt, DataType type, const void *data); - /** Updates the contents of the entire texture from an image. If storage has not been defined, it will be set to match the image. Otherwise the image must match the defined storage. */