fixed m4x3 mul, rendering works
[csRadar.git] / csrMem.h
index b2be8e8bcb576d9c68dd3a5895da8b3ae172703b..2c12e44a462c644aa86baa84008cb9e0d958a4ce 100644 (file)
--- a/csrMem.h
+++ b/csrMem.h
@@ -83,6 +83,14 @@ void csr_sb_free( void *arr )
        }
 }
 
+void csr_sb_clear( void *arr )
+{
+       if( arr )
+       {
+               ((u32 *)csr_sb_raw( arr ))[1] = 0;
+       }
+}
+
 // djb2 - Dan Bernstein
 unsigned long djb2( unsigned char const *str )
 {