mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 19:13:49 +01:00
d3d12: Make canAlloc function const
This commit is contained in:
1 parent
fd269f3adc
commit
de55d64781
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user