diff options
Diffstat (limited to 'src/GFX/Binder.hpp')
| -rw-r--r-- | src/GFX/Binder.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GFX/Binder.hpp b/src/GFX/Binder.hpp index d8a2be9..92faebe 100644 --- a/src/GFX/Binder.hpp +++ b/src/GFX/Binder.hpp @@ -35,14 +35,14 @@ class Binder { public: Binder() = default;; - static BindableMesh load(Mesh mesh); + static BindableMesh load(const Mesh& mesh); private: static uint32_t create_vao(); static void unbind_vao(); - static void store_in_attribute_list(uint32_t attribute, int attribute_size, int type_size, void* data, long data_size); - static void store_indices(uint32_t* indices, size_t indices_size); + static void store_in_attribute_list(uint32_t attribute, int attribute_size, int type_size, const void* data, long data_size); + static void store_indices(const uint32_t* indices, size_t indices_size); }; } \ No newline at end of file |
