Skip to content

Commit

Permalink
Fix Dx12 HL_XBS
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed May 6, 2024
1 parent ff21039 commit d70ec99
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/directx/dx12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <d3d12_x.h>
#include <d3dx12_x.h>
#include <dxcapi_x.h>
#include <vector>
#endif

#define IID_PPV_ARGS_OLD(ppType) __uuidof(**(ppType)), IID_PPV_ARGS_Helper(ppType)
Expand Down Expand Up @@ -170,9 +171,6 @@ HL_PRIM dx_driver *HL_NAME(create)( HWND window, int flags, uchar *dev_desc ) {

CHKERR(D3D12XboxCreateDevice(nullptr,&params, IID_PPV_ARGS(&drv->device)))
drv->device->SetName(L"HL_DX12_XBS");
if (drv->debug) {
CHKERR(drv->device->QueryInterface(IID_PPV_ARGS(&drv->debugDevice)));
}

// Prepare for PresentX
{
Expand Down

0 comments on commit d70ec99

Please sign in to comment.