summaryrefslogtreecommitdiff
path: root/pipeline.cpp
diff options
context:
space:
mode:
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);