Skip to content

Commit e8191ce

Browse files
committed
Add this
1 parent 73fe456 commit e8191ce

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

gfx/common/dxgi_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ enum dxgi_swapchain_bit_depth
285285
#endif
286286

287287
#include <assert.h>
288-
#include <dxgi1_6.h>
288+
#include "../include/dxsdk/dxgi1_6.h"
289289

290290
#ifndef countof
291291
#define countof(a) (sizeof(a) / sizeof(*a))

griffin/griffin.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,12 @@ VIDEO DRIVER
477477
#include "../gfx/drivers/d3d10.c"
478478
#endif
479479

480-
#if defined(HAVE_D3D10) || defined(HAVE_D3D11) || defined(HAVE_D3D12)
480+
#if defined(HAVE_D3D10) || defined(HAVE_D3D11) || defined(HAVE_D3D12) \
481+
|| (defined(HAVE_D3D9) && defined(HAVE_HLSL))
481482
#include "../gfx/common/d3dcompiler_common.c"
483+
#endif
484+
485+
#if defined(HAVE_D3D10) || defined(HAVE_D3D11) || defined(HAVE_D3D12)
482486
#include "../gfx/common/dxgi_common.c"
483487
#endif
484488

0 commit comments

Comments
 (0)