This commit is contained in:
Dr. Chat 2015-07-10 23:32:05 -05:00
parent da5868945e
commit 90a9a71e55
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ struct XMA_CONTEXT_INIT {
}; };
static_assert_size(XMA_CONTEXT_INIT, 56); static_assert_size(XMA_CONTEXT_INIT, 56);
dword_result_t XMAInitializeContext(lpvoid_t context_ptr, pointer_t<XMA_CONTEXT_INIT> context_init) { dword_result_t XMAInitializeContext(lpvoid_t context_ptr,
pointer_t<XMA_CONTEXT_INIT> context_init) {
std::memset(context_ptr, 0, sizeof(XMA_CONTEXT_DATA)); std::memset(context_ptr, 0, sizeof(XMA_CONTEXT_DATA));
XMA_CONTEXT_DATA context(context_ptr); XMA_CONTEXT_DATA context(context_ptr);