From e050dce79b67ae6386240567a994454711ab998d Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 00:42:05 +0200 Subject: [add]: Custom memory managers and fix includes --- src/Rendering/Texture.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Rendering/Texture.h') 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 +#include "Core/Memory.h" + #include #include @@ -27,7 +28,7 @@ namespace Donut : public Texture { public: - static std::shared_ptr Create(uint32_t width, uint32_t height); - static std::shared_ptr Create(const std::string& path); + static Ref Create(uint32_t width, uint32_t height); + static Ref Create(const std::string& path); }; }; \ No newline at end of file -- cgit v1.3