diff options
| author | 2019-03-11 12:02:28 -0400 | |
|---|---|---|
| committer | 2019-03-11 12:02:30 -0400 | |
| commit | 1070c020db59af1d3baeca9988ffeda13c286bbb (patch) | |
| tree | b7b4da5e2037d069fbea9dcdc6cd3335b20353ec | |
| parent | Merge pull request #2207 from lioncash/hwopus (diff) | |
| download | yuzu-1070c020db59af1d3baeca9988ffeda13c286bbb.tar.gz yuzu-1070c020db59af1d3baeca9988ffeda13c286bbb.tar.xz yuzu-1070c020db59af1d3baeca9988ffeda13c286bbb.zip | |
renderer_opengl/gl_global_cache: Append missing override specifiers
Two of the functions here are overridden functions, so we can append
these specifiers to make it explicit.
| -rw-r--r-- | src/video_core/renderer_opengl/gl_global_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_global_cache.h b/src/video_core/renderer_opengl/gl_global_cache.h index 37830bb7c..b8f1f7c2e 100644 --- a/src/video_core/renderer_opengl/gl_global_cache.h +++ b/src/video_core/renderer_opengl/gl_global_cache.h | |||
| @@ -30,12 +30,12 @@ public: | |||
| 30 | explicit CachedGlobalRegion(VAddr addr, u32 size); | 30 | explicit CachedGlobalRegion(VAddr addr, u32 size); |
| 31 | 31 | ||
| 32 | /// Gets the address of the shader in guest memory, required for cache management | 32 | /// Gets the address of the shader in guest memory, required for cache management |
| 33 | VAddr GetAddr() const { | 33 | VAddr GetAddr() const override { |
| 34 | return addr; | 34 | return addr; |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | /// Gets the size of the shader in guest memory, required for cache management | 37 | /// Gets the size of the shader in guest memory, required for cache management |
| 38 | std::size_t GetSizeInBytes() const { | 38 | std::size_t GetSizeInBytes() const override { |
| 39 | return size; | 39 | return size; |
| 40 | } | 40 | } |
| 41 | 41 | ||