]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture3d.h
Use standard fixed-size integer types
[libs/gl.git] / source / core / texture3d.h
index 2a8f653cd04422c333a1dcb81e937978dee38fda..19444c770ecb235496ce0c06a3087d21c9a552e1 100644 (file)
@@ -53,19 +53,11 @@ public:
        undefined.  If storage has already been allocated, does nothing. */
        void allocate(unsigned level);
 
-private:
-       void allocate_(unsigned);
-
-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. */
        void image(unsigned level, const void *data);
 
-private:
-       void image_(unsigned, const void *);
-
-public:
        DEPRECATED void image(unsigned level, PixelComponents comp, DataType type, const void *data);
 
        /** Updates a cuboid-shaped region of the texture.  Storage must be defined
@@ -95,7 +87,7 @@ protected:
 
 public:
        virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
-       virtual UInt64 get_data_size() const;
+       virtual std::uint64_t get_data_size() const;
        virtual void unload() { }
 };