summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-07-07 13:36:59 -0400
committerGravatar Lioncash2019-07-07 13:38:39 -0400
commit4b276806397c0a0fae551964970d0dee4bf6a081 (patch)
tree7713ceccc4ba4debffc7b82586f411d9bb52e70b /src
parentMerge pull request #2674 from lioncash/reporter (diff)
downloadyuzu-4b276806397c0a0fae551964970d0dee4bf6a081.tar.gz
yuzu-4b276806397c0a0fae551964970d0dee4bf6a081.tar.xz
yuzu-4b276806397c0a0fae551964970d0dee4bf6a081.zip
video_core: Add missing override specifiers
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_sampler_cache.h4
-rw-r--r--src/video_core/renderer_vulkan/vk_sampler_cache.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_sampler_cache.h b/src/video_core/renderer_opengl/gl_sampler_cache.h
index defbc2d81..34ee37f00 100644
--- a/src/video_core/renderer_opengl/gl_sampler_cache.h
+++ b/src/video_core/renderer_opengl/gl_sampler_cache.h
@@ -17,9 +17,9 @@ public:
17 ~SamplerCacheOpenGL(); 17 ~SamplerCacheOpenGL();
18 18
19protected: 19protected:
20 OGLSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const; 20 OGLSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const override;
21 21
22 GLuint ToSamplerType(const OGLSampler& sampler) const; 22 GLuint ToSamplerType(const OGLSampler& sampler) const override;
23}; 23};
24 24
25} // namespace OpenGL 25} // namespace OpenGL
diff --git a/src/video_core/renderer_vulkan/vk_sampler_cache.h b/src/video_core/renderer_vulkan/vk_sampler_cache.h
index 771b05c73..e492ef06c 100644
--- a/src/video_core/renderer_vulkan/vk_sampler_cache.h
+++ b/src/video_core/renderer_vulkan/vk_sampler_cache.h
@@ -21,9 +21,9 @@ public:
21 ~VKSamplerCache(); 21 ~VKSamplerCache();
22 22
23protected: 23protected:
24 UniqueSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const; 24 UniqueSampler CreateSampler(const Tegra::Texture::TSCEntry& tsc) const override;
25 25
26 vk::Sampler ToSamplerType(const UniqueSampler& sampler) const; 26 vk::Sampler ToSamplerType(const UniqueSampler& sampler) const override;
27 27
28private: 28private:
29 const VKDevice& device; 29 const VKDevice& device;