]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/mesh.cpp
Store query pool size separately, in the common part of the class
[libs/gl.git] / source / core / mesh.cpp
index f6a060215692a01f73ba2f849f83cfdc6c82f9b2..029c16e0fac6b04d35f1847faf2590fafd320c1f 100644 (file)
@@ -1,13 +1,8 @@
-#include <msp/gl/extensions/arb_vertex_array_object.h>
-#include <msp/gl/extensions/arb_vertex_buffer_object.h>
-#include <msp/gl/extensions/arb_vertex_shader.h>
-#include <msp/gl/extensions/khr_debug.h>
 #include "buffer.h"
 #include "error.h"
 #include "mesh.h"
 #include "renderer.h"
 #include "resourcemanager.h"
-#include "vertexsetup.h"
 
 using namespace std;
 
@@ -226,9 +221,9 @@ Resource::AsyncLoader *Mesh::load(IO::Seekable &io, const Resources *)
        return new AsyncLoader(*this, io);
 }
 
-UInt64 Mesh::get_data_size() const
+uint64_t Mesh::get_data_size() const
 {
-       UInt64 size = 0;
+       uint64_t size = 0;
        if(vbuf)
                size += vbuf->get_size();
        if(ibuf)