summaryrefslogtreecommitdiff
path: root/engine/xe_model.hpp
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-09-27 13:35:49 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-09-27 13:35:49 -0400
commit965ff9cc09401ae61c15aca0232d59fac17bfce3 (patch)
tree9fb7619560e528cbf83edfed57b6b7695e8b9a94 /engine/xe_model.hpp
parentchange shader lighting (diff)
downloadminecraftvulkan-965ff9cc09401ae61c15aca0232d59fac17bfce3.tar.gz
minecraftvulkan-965ff9cc09401ae61c15aca0232d59fac17bfce3.tar.bz2
minecraftvulkan-965ff9cc09401ae61c15aca0232d59fac17bfce3.zip
async chunk meshing
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);