Misc: fix compiler warning: implicit declaration of function
This commit is contained in:
1 parent
a8fbe8f28f
commit
60351c19cc
7 files changed
+41
-40
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user