summaryrefslogtreecommitdiff
path: root/Client/Source/Graphics/RenderCommands.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-12-13 00:07:19 +0800
committerchai <chaifix@163.com>2021-12-13 00:07:19 +0800
commit60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch)
treeb2c7b0a868f18159dbc43d8954e1bd7668549a88 /Client/Source/Graphics/RenderCommands.cpp
+init
Diffstat (limited to 'Client/Source/Graphics/RenderCommands.cpp')
-rw-r--r--Client/Source/Graphics/RenderCommands.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Client/Source/Graphics/RenderCommands.cpp b/Client/Source/Graphics/RenderCommands.cpp
new file mode 100644
index 0000000..336bf20
--- /dev/null
+++ b/Client/Source/Graphics/RenderCommands.cpp
@@ -0,0 +1,9 @@
+#include "RenderCommands.h"
+
+void ReleaseRenderCommandGroup(RenderCommandGroup& group)
+{
+ for (int i = 0; i < group.size(); ++i)
+ {
+ delete group[i];
+ }
+}