summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractTexture.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-18 11:10:48 +0100
committerGitHub <noreply@github.com>2020-11-18 11:10:48 +0100
commit4eecb8fd1100db51a118c220c8b6a61fd672fc42 (patch)
tree5c08b8d1d92b0b676a0c064d2200e4d6f64d5af5 /Source/Core/VideoCommon/AbstractTexture.cpp
parenteb1581bbcc30b79f51b736d2f31c9cb0489b1162 (diff)
parent3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (diff)
Merge pull request #9248 from lioncash/video-fmt
VideoCommon: Migrate over to fmt
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
-rw-r--r--Source/Core/VideoCommon/AbstractTexture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.cpp b/Source/Core/VideoCommon/AbstractTexture.cpp
index 23ade1f99b..8e2dc39d76 100644
--- a/Source/Core/VideoCommon/AbstractTexture.cpp
+++ b/Source/Core/VideoCommon/AbstractTexture.cpp
@@ -126,7 +126,7 @@ u32 AbstractTexture::CalculateStrideForFormat(AbstractTextureFormat format, u32
case AbstractTextureFormat::D32F_S8:
return static_cast<size_t>(row_length) * 8;
default:
- PanicAlert("Unhandled texture format.");
+ PanicAlertFmt("Unhandled texture format.");
return 0;
}
}
@@ -153,7 +153,7 @@ u32 AbstractTexture::GetTexelSizeForFormat(AbstractTextureFormat format)
case AbstractTextureFormat::D32F_S8:
return 8;
default:
- PanicAlert("Unhandled texture format.");
+ PanicAlertFmt("Unhandled texture format.");
return 0;
}
}