summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D12/DXTexture.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-12 14:51:28 +0100
committerGitHub <noreply@github.com>2020-11-12 14:51:28 +0100
commit8a621c2d5e7722de5148a0a40d4072445cffb361 (patch)
tree99878aba6ea4a45ff473092a7f9b8d1db7892ced /Source/Core/VideoBackends/D3D12/DXTexture.cpp
parentec5313fe24fe0b301603466c12f402fc08605813 (diff)
parent21dd7a8ebb23ab05373ab65558a7a47927f402f1 (diff)
Merge pull request #9236 from lioncash/log-backend
VideoBackends: Migrate logging over to fmt
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/DXTexture.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D12/DXTexture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D12/DXTexture.cpp b/Source/Core/VideoBackends/D3D12/DXTexture.cpp
index f27ba5ad54..df63e13044 100644
--- a/Source/Core/VideoBackends/D3D12/DXTexture.cpp
+++ b/Source/Core/VideoBackends/D3D12/DXTexture.cpp
@@ -239,7 +239,8 @@ void DXTexture::Load(u32 level, u32 width, u32 height, u32 row_length, const u8*
if (!g_dx_context->GetTextureUploadBuffer().ReserveMemory(
upload_size, D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT))
{
- WARN_LOG(VIDEO, "Executing command list while waiting for space in texture upload buffer");
+ WARN_LOG_FMT(VIDEO,
+ "Executing command list while waiting for space in texture upload buffer");
Renderer::GetInstance()->ExecuteCommandList(false);
if (!g_dx_context->GetTextureUploadBuffer().ReserveMemory(
upload_size, D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT))