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.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/xe_model.hpp b/engine/xe_model.hpp
index 41dccd5..1886657 100644
--- a/engine/xe_model.hpp
+++ b/engine/xe_model.hpp
@@ -40,7 +40,7 @@ class Model {
Model(const Model &) = delete;
Model operator=(const Model &) = delete;
- static std::unique_ptr<Model> createModelFromFile(Device &device, const std::string &filepath);
+ static Model* createModelFromFile(Device &device, const std::string &filepath);
void bind(VkCommandBuffer commandBuffer);
void draw(VkCommandBuffer commandBuffer);