diff options
Diffstat (limited to 'src/rendering/texture.h')
| -rw-r--r-- | src/rendering/texture.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rendering/texture.h b/src/rendering/texture.h index e9f369f..cc5c59e 100644 --- a/src/rendering/texture.h +++ b/src/rendering/texture.h @@ -1,6 +1,7 @@ #pragma once -#include <memory> +#include "core/memory.h" + #include <string> #include <glm/glm.hpp> @@ -27,7 +28,7 @@ namespace Donut : public Texture { public: - static std::shared_ptr<Texture2D> create(uint32_t width, uint32_t height); - static std::shared_ptr<Texture2D> create(const std::string& path); + static Ref<Texture2D> create(uint32_t width, uint32_t height); + static Ref<Texture2D> create(const std::string& path); }; }; |
