aboutsummaryrefslogtreecommitdiff
path: root/dxg/include
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-12-04 18:50:48 -0800
committer3gg <3gg@shellblade.net>2025-12-04 18:50:48 -0800
commitd89331f1636f8d53a3c8e9d0f7bfcf7a6041b88a (patch)
treed35cd39cf534d0d7ce4e4a817e2bc52036471c67 /dxg/include
parent6c8ae19be66cee247980a48e736a4e05d14de179 (diff)
Diffstat (limited to 'dxg/include')
-rw-r--r--dxg/include/dxg/dxcommon.h2
-rw-r--r--dxg/include/dxg/imm.h2
2 files changed, 3 insertions, 1 deletions
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) {
43#define FREE(ALLOC) free_aligned(&(ALLOC)) 43#define FREE(ALLOC) free_aligned(&(ALLOC))
44 44
45#ifndef NDEBUG 45#ifndef NDEBUG
46#define WIN32_LEAN_AND_MEAN
47#include <Windows.h> // OutputDebugStringA
46#define DEBUG_PRINT OutputDebugStringA 48#define DEBUG_PRINT OutputDebugStringA
47#else 49#else
48#define DEBUG_PRINT 50#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 @@
6 6
7typedef struct DxgImm DxgImm; 7typedef struct DxgImm DxgImm;
8 8
9DxgImm* dxg_imm_init(ID3D12Device* pDevice, ID3D12CommandQueue*, DXGI_FORMAT swapChainRtvFormat, DXGI_SAMPLE_DESC swapChainSampleDesc, size_t bufferSizeVerts); 9DxgImm* dxg_imm_init(ID3D12Device* pDevice, ID3D12CommandQueue*, DXGI_FORMAT swapChainRtvFormat, DXGI_SAMPLE_DESC swapChainSampleDesc, size_t bufferSize);
10void dxg_imm_destroy(DxgImm**); 10void dxg_imm_destroy(DxgImm**);
11void dxg_imm_set_graphics_state(DxgImm*, const D3D12_VIEWPORT*, D3D12_CPU_DESCRIPTOR_HANDLE hBackBufferView, D3D12_CPU_DESCRIPTOR_HANDLE hDepthStencilView); 11void dxg_imm_set_graphics_state(DxgImm*, const D3D12_VIEWPORT*, D3D12_CPU_DESCRIPTOR_HANDLE hBackBufferView, D3D12_CPU_DESCRIPTOR_HANDLE hDepthStencilView);
12void dxg_imm_flush(DxgImm*); 12void dxg_imm_flush(DxgImm*);