hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/rendering/texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rendering/texture.cpp')
-rw-r--r--src/rendering/texture.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rendering/texture.cpp b/src/rendering/texture.cpp
index a33edd0..b36be1b 100644
--- a/src/rendering/texture.cpp
+++ b/src/rendering/texture.cpp
@@ -6,7 +6,7 @@
namespace Donut
{
- Ref<Texture2D> Texture2D::create(uint32_t width, uint32_t height)
+ auto Texture2D::create(uint32_t width, uint32_t height) -> Ref<Texture2D>
{
switch (Renderer::get_api())
{
@@ -21,7 +21,7 @@ namespace Donut
}
}
- Ref<Texture2D> Texture2D::create(const std::string& path)
+ auto Texture2D::create(const std::string& path) -> Ref<Texture2D>
{
switch (Renderer::get_api())
{
@@ -36,7 +36,7 @@ namespace Donut
}
}
- Ref<CubemapTexture> CubemapTexture::create(uint32_t width, uint32_t height)
+ auto CubemapTexture::create(uint32_t width, uint32_t height) -> Ref<CubemapTexture>
{
switch (Renderer::get_api())
{
@@ -51,7 +51,7 @@ namespace Donut
}
}
- Ref<CubemapTexture> CubemapTexture::create_from_hdri(const std::string& path)
+ auto CubemapTexture::create_from_hdri(const std::string& path) -> Ref<CubemapTexture>
{
switch (Renderer::get_api())
{