mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-01 16:13:23 +00:00
d3d12: Make canAlloc function const
This commit is contained in:
parent
fd269f3adc
commit
de55d64781
@ -135,7 +135,7 @@ struct DataHeap
|
||||
/**
|
||||
* Does alloc cross get position ?
|
||||
*/
|
||||
bool canAlloc(size_t size)
|
||||
bool canAlloc(size_t size) const
|
||||
{
|
||||
size_t allocSize = align(size, Alignment);
|
||||
if (m_putPos + allocSize < m_size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user