]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.h
Use size_t to store sizes of buffers and such
[libs/gl.git] / source / core / texture.h
index 154a8c030018f0087e062001ad851c8c8ae77758..c593c0ad5236657ac4f08b45ded75f8c3a144f4b 100644 (file)
@@ -94,7 +94,7 @@ public:
        with the defined storage.  Semantics depend on the type of texture.  */
        virtual void image(const Graphics::Image &, unsigned = 0) = 0;
 
-       virtual std::uint64_t get_data_size() const { return 0; }
+       virtual std::size_t get_data_size() const { return 0; }
 
        using TextureBackend::set_debug_name;