From 932dd14418fec0661e7ecc3850c46e3e9caee082 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 15 Feb 2016 23:12:04 -0500 Subject: [PATCH] NativeVertexFormat: Add missing override specifier --- Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp | 2 +- Source/Core/VideoBackends/D3D12/NativeVertexFormat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;