]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture3d.h
Use size_t to store sizes of buffers and such
[libs/gl.git] / source / core / texture3d.h
index 4a166174fbf75fb30bb8800ca3a3017c1ef5b43f..d791633d3a306ef08607016efe4b956d850f43fa 100644 (file)
@@ -64,8 +64,6 @@ public:
        storage. */
        virtual void image(const Graphics::Image &, unsigned = 0);
 
-       using Texture::image;
-
        unsigned get_width() const { return width; }
        unsigned get_height() const { return height; }
        unsigned get_depth() const { return depth; }
@@ -75,7 +73,7 @@ protected:
 
 public:
        virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
-       virtual std::uint64_t get_data_size() const;
+       virtual std::size_t get_data_size() const;
        virtual void unload() { }
 };