diff --git a/Juliet/src/Graphics/D3D12/D3D12CommandList.cpp b/Juliet/src/Graphics/D3D12/D3D12CommandList.cpp index 0ccfcaf..4dc4376 100644 --- a/Juliet/src/Graphics/D3D12/D3D12CommandList.cpp +++ b/Juliet/src/Graphics/D3D12/D3D12CommandList.cpp @@ -279,7 +279,7 @@ namespace Juliet::D3D12 } // Mark the command list as submitted - const uint32 newValue = static_cast(d3d12Driver->SubmittedCommandListCount) + 1U; + [[maybe_unused]] const uint32 newValue = static_cast(d3d12Driver->SubmittedCommandListCount) + 1U; Assert(newValue <= 0xFF && "Command List count exceeded uint8 capacity!"); Assert(newValue <= d3d12Driver->SubmittedCommandListCapacity); diff --git a/Juliet/src/Graphics/D3D12/D3D12Synchronization.cpp b/Juliet/src/Graphics/D3D12/D3D12Synchronization.cpp index eb96c07..240f5ce 100644 --- a/Juliet/src/Graphics/D3D12/D3D12Synchronization.cpp +++ b/Juliet/src/Graphics/D3D12/D3D12Synchronization.cpp @@ -80,7 +80,8 @@ namespace Juliet::D3D12 TempArena tempArena = ArenaTempBegin(d3d12driver->DriverArena); - HANDLE* events = ArenaPushArray(tempArena.Arena, numFences, "JUST IN CASE"); + HANDLE* events = + ArenaPushArray(tempArena.Arena, numFences JULIET_DEBUG_PARAM("Wait() HANDLE - JUST IN CASE")); MemoryZero(events, sizeof(HANDLE) * numFences); for (uint32 i = 0; i < numFences; ++i)