From d89331f1636f8d53a3c8e9d0f7bfcf7a6041b88a Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 4 Dec 2025 18:50:48 -0800 Subject: Tidy --- dxg/include/dxg/dxcommon.h | 2 ++ dxg/include/dxg/imm.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'dxg/include') diff --git a/dxg/include/dxg/dxcommon.h b/dxg/include/dxg/dxcommon.h index 96cf3a5..6cc3466 100644 --- a/dxg/include/dxg/dxcommon.h +++ b/dxg/include/dxg/dxcommon.h @@ -43,6 +43,8 @@ static inline free_aligned(alloc_t* alloc) { #define FREE(ALLOC) free_aligned(&(ALLOC)) #ifndef NDEBUG +#define WIN32_LEAN_AND_MEAN +#include // OutputDebugStringA #define DEBUG_PRINT OutputDebugStringA #else #define DEBUG_PRINT diff --git a/dxg/include/dxg/imm.h b/dxg/include/dxg/imm.h index fdee725..831c1b8 100644 --- a/dxg/include/dxg/imm.h +++ b/dxg/include/dxg/imm.h @@ -6,7 +6,7 @@ typedef struct DxgImm DxgImm; -DxgImm* dxg_imm_init(ID3D12Device* pDevice, ID3D12CommandQueue*, DXGI_FORMAT swapChainRtvFormat, DXGI_SAMPLE_DESC swapChainSampleDesc, size_t bufferSizeVerts); +DxgImm* dxg_imm_init(ID3D12Device* pDevice, ID3D12CommandQueue*, DXGI_FORMAT swapChainRtvFormat, DXGI_SAMPLE_DESC swapChainSampleDesc, size_t bufferSize); void dxg_imm_destroy(DxgImm**); void dxg_imm_set_graphics_state(DxgImm*, const D3D12_VIEWPORT*, D3D12_CPU_DESCRIPTOR_HANDLE hBackBufferView, D3D12_CPU_DESCRIPTOR_HANDLE hDepthStencilView); void dxg_imm_flush(DxgImm*); -- cgit v1.2.3