mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Fix] (MG_Backend/DirectGLES): Fix wrong buffer data in sync.
This commit is contained in:
@@ -125,7 +125,7 @@ namespace MobileGL {
|
||||
}
|
||||
}
|
||||
|
||||
SharedPtr<Data> BufferObject::GetDataReadOnly() const {
|
||||
const SharedPtr<Data> BufferObject::GetDataReadOnly() const {
|
||||
return m_dataPtr;
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace MobileGL {
|
||||
BufferUsage GetUsage() const;
|
||||
Range1D GetDirtyRange() const;
|
||||
Range1D GetMappedRange() const;
|
||||
SharedPtr<Data> GetDataReadOnly() const;
|
||||
const SharedPtr<Data> GetDataReadOnly() const;
|
||||
Flags<BufferMappingAccessBit> GetMappingAccess() const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user