Use flexible array members to pad the device and context structs
commite6e3937fa9d1d192bc26b900438b45c0e6eb5be2
authorChris Robinson <chris.kcat@gmail.com>
Thu, 20 Mar 2014 21:49:46 +0000 (20 14:49 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 20 Mar 2014 21:49:46 +0000 (20 14:49 -0700)
tree97e65b55932f8b925e733273ba238a3b18b87536
parent168149ce9daedb2e3d9a11b7fee2b22b2e4daf7a
Use flexible array members to pad the device and context structs

This helps avoid the convoluted math otherwise required to ensure the default
slot and listener, respectively, are aligned.
Alc/ALc.c
OpenAL32/Include/alMain.h