summaryrefslogtreecommitdiff
path: root/pipeline.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-28 19:03:56 +1100
committerquou <quou@disroot.org>2024-12-28 19:03:56 +1100
commit7d8c72feb8041a6757a9dacb4e9d8017a689bec4 (patch)
tree95bcd40f12c2eef3640bee5ee032705db774f230 /pipeline.cpp
parentd7a511e6a4cea46e1de05f868e7eb81ebdee7b80 (diff)
replace memset
Diffstat (limited to 'pipeline.cpp')
-rw-r--r--pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pipeline.cpp b/pipeline.cpp
index b0a88eb..88b2009 100644
--- a/pipeline.cpp
+++ b/pipeline.cpp
@@ -40,7 +40,7 @@ Render_Pass& Pipeline_Builder::build_rp() {
void Pipeline_Builder::begin(Device* dev) {
pip = (Pipeline*)arena_alloc(arena, sizeof *pip);
- memset(pip, 0, sizeof *pip);
+ zero(pip, sizeof *pip);
if (dev) {
Texture_Id backbuffer_id = dev->get_backbuffer();
Texture& backbuffer = dev->get_texture(backbuffer_id);