mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-08 00:15:16 +00:00
SSE version of PresetOutputs::PerPixelMath()
This commit is contained in:
@ -27,7 +27,8 @@
|
||||
#include "wipemalloc.h"
|
||||
|
||||
void *wipemalloc( size_t count ) {
|
||||
void *mem = malloc( count );
|
||||
count = (count + 15) & ~(size_t)15;
|
||||
void *mem = aligned_alloc( 16, count );
|
||||
if ( mem != NULL ) {
|
||||
memset( mem, 0, count );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user