]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2d.h
Remove remaining deprecated things from the core classes
[libs/gl.git] / source / core / texture2d.h
index 442c544e3c9a52749d5f21c16da70a2a90041875..b3a5a749bd8fe987b0078b8e5b6cdf47c4d9712b 100644 (file)
@@ -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. */