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:
Corentin Wallez
2018-03-20 19:48:54 -04:00
committed by Corentin Wallez
parent 2da19d5d6b
commit 8565e0056a
18 changed files with 68 additions and 64 deletions

View File

@@ -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() {