Fix D3D12 build: add missing headers and fix CMake paths

This commit is contained in:
2026-03-17 00:40:29 +08:00
parent 5bcf9d74a3
commit 4b41a4cca1
5 changed files with 15 additions and 10 deletions

View File

@@ -2,6 +2,7 @@
#include <d3d12.h>
#include <wrl/client.h>
#include <string>
#include "D3D12Enum.h"

View File

@@ -5,8 +5,8 @@
#include <wrl/client.h>
#include <string>
#include "../SwapChain.h"
#include "D3D12Enum.h"
#include "../Types.h"
using Microsoft::WRL::ComPtr;

View File

@@ -3,6 +3,7 @@
#include <d3d12.h>
#include <dxgi1_4.h>
#include <wrl/client.h>
#include <vector>
#include "D3D12Enum.h"
#include "D3D12Texture.h"

View File

@@ -2,6 +2,7 @@
#include <d3d12.h>
#include <wrl/client.h>
#include <string>
#include "D3D12Enum.h"