mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Test] (BufferTest): add Binding test, and fix compile errors
This commit is contained in:
@@ -11,7 +11,7 @@ namespace MobileGL {
|
||||
m_dirtyRange->Extend(0, m_size);
|
||||
}
|
||||
|
||||
void* BufferObject::AquireMemory(Bool markMapped = true, Bool read, Bool write) {
|
||||
void* BufferObject::AquireMemory(Bool markMapped, Bool read, Bool write) {
|
||||
if (markMapped) {
|
||||
m_isMapped = true;
|
||||
m_mappingAccess = (read ? BufferMappingAccessBit::Read : BufferMappingAccessBit::Null) |
|
||||
|
||||
Reference in New Issue
Block a user