hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/rendering/vertex_array.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-20 02:12:52 +0200
committerhachem <im@hachem.wtf>2026-08-20 02:25:57 +0200
commit0f9483ce025b015b1197b7a7efc8ed983bedbb8e (patch)
tree3984c728052cb21e88550248f3ff2fb2fece41a3 /src/rendering/vertex_array.cpp
parent0802ee19573e880e319a61ae814ee42c01e28cd3 (diff)
refactor: trailing return types in rendering
Diffstat (limited to 'src/rendering/vertex_array.cpp')
-rw-r--r--src/rendering/vertex_array.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rendering/vertex_array.cpp b/src/rendering/vertex_array.cpp
index bb92ff3..f1fd6c1 100644
--- a/src/rendering/vertex_array.cpp
+++ b/src/rendering/vertex_array.cpp
@@ -6,7 +6,7 @@
namespace Donut
{
- uint32_t VertexBufferElement::get_size_of_type(uint32_t type)
+ auto VertexBufferElement::get_size_of_type(uint32_t type) -> uint32_t
{
switch (type)
{
@@ -17,7 +17,7 @@ namespace Donut
}
}
- VertexArray* VertexArray::create()
+ auto VertexArray::create() -> VertexArray*
{
switch (Renderer::get_api())
{