From fed4ed30fa727e528aa4ee3fad1b5123e022c6be Mon Sep 17 00:00:00 2001 From: aura Date: Sat, 14 Mar 2026 01:12:57 +0100 Subject: fix textures in 2d render, some bugfix --- src/util/allocator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/allocator.h') diff --git a/src/util/allocator.h b/src/util/allocator.h index ff3d3c5..327dfc1 100644 --- a/src/util/allocator.h +++ b/src/util/allocator.h @@ -76,9 +76,9 @@ struct LIST { size = 0; } - LIST( U32 _size, const T* data ) { + LIST( U32 _size, const T* _data ) { data = (T*)malloc( sizeof( T ) * _size ); - memcpy( data, data, _size * sizeof( T ) ); + memcpy( data, _data, _size * sizeof( T ) ); size = _size; capacity = _size; } -- cgit v1.2.3