diff options
Diffstat (limited to 'dxg/include')
| -rw-r--r-- | dxg/include/dxg/dxcommon.h | 2 | ||||
| -rw-r--r-- | dxg/include/dxg/imm.h | 2 |
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 | ||
| 7 | typedef struct DxgImm DxgImm; | 7 | typedef struct DxgImm DxgImm; |
| 8 | 8 | ||
| 9 | DxgImm* dxg_imm_init(ID3D12Device* pDevice, ID3D12CommandQueue*, DXGI_FORMAT swapChainRtvFormat, DXGI_SAMPLE_DESC swapChainSampleDesc, size_t bufferSizeVerts); | 9 | DxgImm* dxg_imm_init(ID3D12Device* pDevice, ID3D12CommandQueue*, DXGI_FORMAT swapChainRtvFormat, DXGI_SAMPLE_DESC swapChainSampleDesc, size_t bufferSize); |
| 10 | void dxg_imm_destroy(DxgImm**); | 10 | void dxg_imm_destroy(DxgImm**); |
| 11 | void dxg_imm_set_graphics_state(DxgImm*, const D3D12_VIEWPORT*, D3D12_CPU_DESCRIPTOR_HANDLE hBackBufferView, D3D12_CPU_DESCRIPTOR_HANDLE hDepthStencilView); | 11 | void dxg_imm_set_graphics_state(DxgImm*, const D3D12_VIEWPORT*, D3D12_CPU_DESCRIPTOR_HANDLE hBackBufferView, D3D12_CPU_DESCRIPTOR_HANDLE hDepthStencilView); |
| 12 | void dxg_imm_flush(DxgImm*); | 12 | void dxg_imm_flush(DxgImm*); |
