summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authoroltolm <oleg.tolmatcev@gmail.com>2026-02-04 22:22:16 +0100
committeroltolm <oleg.tolmatcev@gmail.com>2026-02-08 00:37:29 +0100
commit60351c19ccb5fb48cc82e7b6b59ae291577b5560 (patch)
tree66b67ab028f56ee99790211cec39b36bbc78ce10 /Source/Core/VideoBackends
parenta8fbe8f28f622851333538ee0a2899bc159161ba (diff)
Misc: fix compiler warning: implicit declaration of function
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/D3D/D3DNativeVertexFormat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/D3DNativeVertexFormat.cpp b/Source/Core/VideoBackends/D3D/D3DNativeVertexFormat.cpp
index 0f81db9aaa..fbb5611528 100644
--- a/Source/Core/VideoBackends/D3D/D3DNativeVertexFormat.cpp
+++ b/Source/Core/VideoBackends/D3D/D3DNativeVertexFormat.cpp
@@ -23,7 +23,7 @@ Gfx::CreateNativeVertexFormat(const PortableVertexDeclaration& vtx_decl)
return std::make_unique<D3DVertexFormat>(vtx_decl);
}
-DXGI_FORMAT VarToD3D(ComponentFormat t, int size, bool integer)
+static DXGI_FORMAT VarToD3D(ComponentFormat t, int size, bool integer)
{
using FormatMap = Common::EnumMap<DXGI_FORMAT, ComponentFormat::InvalidFloat7>;
static constexpr auto f = [](FormatMap a) { return a; }; // Deduction helper