From 7d8c72feb8041a6757a9dacb4e9d8017a689bec4 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 28 Dec 2024 19:03:56 +1100 Subject: replace memset --- pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pipeline.cpp') 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); -- cgit v1.2.3-54-g00ecf