]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2d.h
Use standard fixed-size integer types
[libs/gl.git] / source / core / texture2d.h
index 7553b6b703c944a2144e989bf605d41b9ae2295c..442c544e3c9a52749d5f21c16da70a2a90041875 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <string>
 #include <msp/graphics/image.h>
+#include <msp/linal/vector.h>
 #include "texture.h"
 
 namespace Msp {
@@ -86,11 +87,11 @@ public:
 
 private:
        unsigned get_n_levels() const;
-       void get_level_size(unsigned, unsigned &, unsigned &) const;
+       LinAl::Vector<unsigned, 2> get_level_size(unsigned) const;
 
 public:
        virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
-       virtual UInt64 get_data_size() const;
+       virtual std::uint64_t get_data_size() const;
        virtual void unload();
 };