Constant buffer mapping returns non-const pointer
Former-commit-id: 37438d554d8733350fcecbbfc4ba0dad46256f73
This commit is contained in:
@@ -46,7 +46,7 @@ class NAZARA_API NzBuffer : public NzResource, NzNonCopyable
|
||||
bool IsValid() const;
|
||||
|
||||
void* Map(nzBufferAccess access, unsigned int offset = 0, unsigned int length = 0);
|
||||
const void* Map(nzBufferAccess access, unsigned int offset = 0, unsigned int length = 0) const;
|
||||
void* Map(nzBufferAccess access, unsigned int offset = 0, unsigned int length = 0) const;
|
||||
|
||||
bool SetStorage(nzBufferStorage storage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user