mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
Rename "buffer map read status" to "buffer map async status"
This is in preparation of MapWriteAsync that will use the same status enum.
This commit is contained in:
committed by
Corentin Wallez
parent
2da19d5d6b
commit
8565e0056a
@@ -42,7 +42,7 @@ namespace backend { namespace opengl {
|
||||
// instead?
|
||||
glBindBuffer(GL_ARRAY_BUFFER, mBuffer);
|
||||
void* data = glMapBufferRange(GL_ARRAY_BUFFER, start, count, GL_MAP_READ_BIT);
|
||||
CallMapReadCallback(serial, NXT_BUFFER_MAP_READ_STATUS_SUCCESS, data);
|
||||
CallMapReadCallback(serial, NXT_BUFFER_MAP_ASYNC_STATUS_SUCCESS, data);
|
||||
}
|
||||
|
||||
void Buffer::UnmapImpl() {
|
||||
|
||||
Reference in New Issue
Block a user