diff options
| author | hachem <im@hachem.wtf> | 2025-08-14 00:42:05 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-14 00:42:05 +0200 |
| commit | 0d8b874c0048ca088bb9e353a5f7c62e1f8cd0e8 (patch) | |
| tree | 2c0f3b13161489e4e91994882f8f2ed67a20bc0e /src/rendering/texture.h | |
| parent | 9671d5e54484b8bce261207d08ff15053ae24e48 (diff) | |
feat: custom memory managers and fix includes
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); }; }; |
