mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
d3d12: Make canAlloc function const
This commit is contained in:
parent
fd269f3adc
commit
de55d64781
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue