d3d12: Use ifdef to guard code

This commit is contained in:
vlj 2015-05-10 19:41:08 +02:00 committed by Vincent Lejeune
parent 4f708ab9ee
commit 5e7531b9bf
7 changed files with 14 additions and 4 deletions

View file

@ -138,10 +138,12 @@ bool Rpcs3App::OnInit()
return new GLGSFrame();
});
#if defined(DX12_SUPPORT)
SetGetD3DGSFrameCallback([]() ->GSFrameBase2*
{
return new D3DGSFrame();
});
#endif
g_msg_dialog.reset(new MsgDialogFrame);
g_savedata_dialog.reset(new SaveDataDialogFrame);