mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
@ -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)
|
||||
|
Reference in New Issue
Block a user