From e3256686504476504c653f64281d3d6bb10a40c0 Mon Sep 17 00:00:00 2001 From: Patedam Date: Sun, 2 Aug 2026 19:53:41 -0400 Subject: [PATCH] fixing build issues --- Juliet/src/Graphics/D3D12/D3D12CommandList.cpp | 2 +- Juliet/src/Graphics/D3D12/D3D12Synchronization.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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)