diff --git a/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp b/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp index b112ee1c04..0e0b27c031 100644 --- a/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp +++ b/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp @@ -20,7 +20,7 @@ public: D3DVertexFormat(const PortableVertexDeclaration& vtx_decl); ~D3DVertexFormat() { SAFE_RELEASE(m_layout); } - void SetupVertexPointers(); + void SetupVertexPointers() override; private: std::array m_elems{}; diff --git a/Source/Core/VideoBackends/D3D12/NativeVertexFormat.h b/Source/Core/VideoBackends/D3D12/NativeVertexFormat.h index cccf233cc0..7b7daf19e8 100644 --- a/Source/Core/VideoBackends/D3D12/NativeVertexFormat.h +++ b/Source/Core/VideoBackends/D3D12/NativeVertexFormat.h @@ -16,7 +16,7 @@ public: D3DVertexFormat(const PortableVertexDeclaration& vtx_decl); ~D3DVertexFormat(); - void SetupVertexPointers(); + void SetupVertexPointers() override; D3D12_INPUT_LAYOUT_DESC GetActiveInputLayout12() const;