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 4d150c0..21941ee 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); }; };
\ No newline at end of file |
