From 0d8b874c0048ca088bb9e353a5f7c62e1f8cd0e8 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 00:42:05 +0200 Subject: feat: 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 e9f369f..cc5c59e 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); }; }; -- cgit v1.3