]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/mesh.h
Use standard fixed-size integer types
[libs/gl.git] / source / core / mesh.h
index 57ffce4722e30efce84ff588741d9b845f7d108b..0cebaa69c28ce92917d796afe4e034e5434c4611 100644 (file)
@@ -91,7 +91,7 @@ public:
        const VertexSetup &get_vertex_setup() const { return vtx_setup; }
        const Buffer *get_index_buffer() const { return ibuf; }
        unsigned get_n_vertices() const;
-       float *modify_vertex(unsigned);
+       char *modify_vertex(unsigned);
 
        void add_batch(const Batch &b);
        const std::vector<Batch> &get_batches() const { return batches; }
@@ -107,7 +107,7 @@ private:
 public:
        virtual int get_load_priority() const { return 1; }
        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();
 
        void set_debug_name(const std::string &);