]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texturecube.h
Use standard fixed-size integer types
[libs/gl.git] / source / core / texturecube.h
index 39fe0c699b4b6358fa9efe6c7348504450690742..15b598174ae3b233b52846e380603f8093e0a3de 100644 (file)
@@ -77,19 +77,11 @@ public:
        undefined.  If storage has already been allocated, does nothing. */
        void allocate(unsigned level);
 
-private:
-       void allocate_(unsigned);
-
-public:
        /** Updates the contents of a face.  Storage must be defined beforehand.
        The image data must have dimensions and format matching the defined
        storage. */
        void image(TextureCubeFace face, unsigned level, const void *data);
 
-private:
-       void image_(TextureCubeFace, unsigned, const void *);
-
-public:
        DEPRECATED void image(TextureCubeFace face, unsigned level,
                PixelComponents comp, DataType type, const void *data);
 
@@ -134,7 +126,7 @@ public:
        Vector3 get_texel_direction(TextureCubeFace, unsigned, unsigned);
 
        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() { }
 };