ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 5c077b55280a1d96f87b5271815433b889006b0e
Parent: def847b0fe1b6411b2fe7462868a2b878dd51e89
Author: Randy Palamar
Date:   Wed, 29 Apr 2026 14:25:15 -0600

util: drop mem_clear name in favor of memory_clear

Diffstat:
Mbeamformer_core.c | 2+-
Mutil.c | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/beamformer_core.c b/beamformer_core.c @@ -1232,7 +1232,7 @@ coalesce_timing_table(ComputeTimingTable *t, ComputeShaderStats *stats) assert(t->compute_frame_active == 0); t->compute_frame_active = 1; /* NOTE(rnp): allow multiple instances of same shader to accumulate */ - mem_clear(stats->table.times[stats_index], 0, sizeof(stats->table.times[stats_index])); + memory_clear(stats->table.times[stats_index], 0, sizeof(stats->table.times[stats_index])); }break; case ComputeTimingInfoKind_ComputeFrameEnd:{ assert(t->compute_frame_active == 1); diff --git a/util.c b/util.c @@ -6,7 +6,6 @@ #endif #define zero_struct(s) memory_clear(s, 0, sizeof(*s)) -#define mem_clear memory_clear function void * memory_clear(void *restrict p_, u8 c, iz size) {