]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources/resource.h
Use size_t to store sizes of buffers and such
[libs/gl.git] / source / resources / resource.h
index 1fdbb3ef3fd906142a92a13b2e1e3ed3add4225f..d763ac442bb528ea9e0af84e9acd056bb7673832 100644 (file)
@@ -41,7 +41,7 @@ public:
 
        /** Returns the amount of graphics memory used by this resource.  The
        returned value must not change while the resource is loaded. */
-       virtual std::uint64_t get_data_size() const = 0;
+       virtual std::size_t get_data_size() const = 0;
 
        virtual void unload() = 0;
 };