summaryrefslogtreecommitdiff
path: root/engine/xe_model.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/xe_model.hpp')
-rw-r--r--engine/xe_model.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/xe_model.hpp b/engine/xe_model.hpp
index 1886657..b75576e 100644
--- a/engine/xe_model.hpp
+++ b/engine/xe_model.hpp
@@ -34,13 +34,13 @@ class Model {
void loadModel(const std::string &filepath);
};
- Model(Device &device, const Model::Builder &builder);
+ Model(const Model::Builder &builder);
~Model();
Model(const Model &) = delete;
Model operator=(const Model &) = delete;
- static Model* createModelFromFile(Device &device, const std::string &filepath);
+ static Model* createModelFromFile(const std::string &filepath);
void bind(VkCommandBuffer commandBuffer);
void draw(VkCommandBuffer commandBuffer);