aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alBuffer.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-23 10:51:23 -0800
committerChris Robinson <[email protected]>2018-01-23 10:51:23 -0800
commit9ee58fd454dae3cab7d9413e84ce4e22dd6c49ef (patch)
treedda1b5a8be8e8f15b728ea2ae0edeb77ce40c243 /OpenAL32/Include/alBuffer.h
parent4f9a0460c4a0fc6df5dba8b98ee6ac4e3ed7d90a (diff)
Track the buffer's mapped section
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r--OpenAL32/Include/alBuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index e89d3c96..b6d77436 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -90,6 +90,8 @@ typedef struct ALbuffer {
ATOMIC(ALsizei) PackAlign;
ALbitfieldSOFT MappedAccess;
+ ALsizei MappedOffset;
+ ALsizei MappedSize;
/* Number of times buffer was attached to a source (deletion can only occur when 0) */
RefCount ref;