diff options
-rw-r--r-- | src/gallium/auxiliary/os/os_memory.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_memory.h b/src/gallium/auxiliary/os/os_memory.h index f18d5a3d9b..704aa0762b 100644 --- a/src/gallium/auxiliary/os/os_memory.h +++ b/src/gallium/auxiliary/os/os_memory.h @@ -57,6 +57,12 @@ os_free(void *ptr); void * os_realloc(void *ptr, size_t old_size, size_t new_size); +void * +os_malloc_aligned(size_t size, uint alignment); + +void +os_free_aligned(void *ptr); + #ifdef __cplusplus } #endif |