diff --git a/plugins/GSdx/Renderers/DX11/GSDevice11.cpp b/plugins/GSdx/Renderers/DX11/GSDevice11.cpp index e9849ecb65..1caf0fa8ee 100644 --- a/plugins/GSdx/Renderers/DX11/GSDevice11.cpp +++ b/plugins/GSdx/Renderers/DX11/GSDevice11.cpp @@ -497,8 +497,7 @@ void GSDevice11::BeforeDraw() if (tex->Equal(m_state.rt_texture) || tex->Equal(m_state.rt_ds)) { #ifdef _DEBUG - std::wstring tmp(L"WARNING: FB read detected on slot " + std::to_wstring(i) + L", copying..."); - OutputDebugString(tmp.c_str()); + OutputDebugStringA(format("WARNING: Cleaning up copied texture on slot %i", i).c_str()); #endif GSTexture* cp = nullptr; @@ -519,8 +518,7 @@ void GSDevice11::AfterDraw() while (_BitScanForward(&i, m_state.ps_sr_bitfield)) { #ifdef _DEBUG - std::wstring tmp(L"WARNING: Cleaning up copied texture on slot " + std::to_wstring(i)); - OutputDebugString(tmp.c_str()); + OutputDebugStringA(format("WARNING: FB read detected on slot %i, copying...", i).c_str()); #endif Recycle(m_state.ps_sr_texture[i]); PSSetShaderResource(i, NULL);