[Test] (BufferTest): add Binding test, and fix compile errors

This commit is contained in:
2025-07-17 22:15:31 +08:00
parent 6de362cd1c
commit 5c1b0a8f10
6 changed files with 82 additions and 5 deletions
@@ -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) |