mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 19:45:49 +00:00
commit
7b8e846d0a
80 changed files with 10311 additions and 6848 deletions
|
@ -57,7 +57,7 @@ struct fmt::formatter<DX11::DX11HRWrap>
|
|||
{
|
||||
constexpr auto parse(fmt::format_parse_context& ctx) { return ctx.begin(); }
|
||||
template <typename FormatContext>
|
||||
auto format(const DX11::DX11HRWrap& hr, FormatContext& ctx)
|
||||
auto format(const DX11::DX11HRWrap& hr, FormatContext& ctx) const
|
||||
{
|
||||
if (hr.m_hr == DXGI_ERROR_DEVICE_REMOVED && DX11::D3D::device != nullptr)
|
||||
{
|
||||
|
|
|
@ -205,7 +205,7 @@ struct fmt::formatter<DX12::DX12HRWrap>
|
|||
{
|
||||
constexpr auto parse(fmt::format_parse_context& ctx) { return ctx.begin(); }
|
||||
template <typename FormatContext>
|
||||
auto format(const DX12::DX12HRWrap& hr, FormatContext& ctx)
|
||||
auto format(const DX12::DX12HRWrap& hr, FormatContext& ctx) const
|
||||
{
|
||||
if (hr.m_hr == DXGI_ERROR_DEVICE_REMOVED && DX12::g_dx_context != nullptr &&
|
||||
DX12::g_dx_context->GetDevice() != nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue