Fix compilation for Xbox

This commit is contained in:
Wojtek Figat
2021-09-22 12:37:47 +02:00
parent 6f7fc3cfc6
commit aa540c014e

View File

@@ -160,7 +160,7 @@ bool GPUSwapChainDX12::Resize(int32 width, int32 height)
_currentFrameIndex = 0;
_width = width;
_height = height;
_memoryUsage = CalculateTextureMemoryUsage(_format, _width, _height, 1) * DX12_BACK_BUFFER_COUNT;
_memoryUsage = RenderTools::CalculateTextureMemoryUsage(_format, _width, _height, 1) * DX12_BACK_BUFFER_COUNT;
getBackBuffer();
#else