Commit c3c961e9 authored by David Reid's avatar David Reid

Fix an incorrect use of an atomic.

parent f2c22831
...@@ -64864,7 +64864,7 @@ MA_API ma_result ma_resource_manager_data_stream_get_cursor_in_pcm_frames(ma_res ...@@ -64864,7 +64864,7 @@ MA_API ma_result ma_resource_manager_data_stream_get_cursor_in_pcm_frames(ma_res
return MA_INVALID_OPERATION; return MA_INVALID_OPERATION;
} }
c89atomic_exchange_64(pCursor, pDataStream->absoluteCursor); *pCursor = c89atomic_load_64(&pDataStream->absoluteCursor);
return MA_SUCCESS; return MA_SUCCESS;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment