diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-16 22:39:27 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-04-20 02:44:56 +0200 |
commit | a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976 (patch) | |
tree | b686fa63959634e2ea9fdaf5974b1826392d99d0 /src/video_core/renderer_opengl/gl_buffer_cache.h | |
parent | Merge pull request #2415 from lioncash/const (diff) | |
download | yuzu-a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976.tar yuzu-a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976.tar.gz yuzu-a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976.tar.bz2 yuzu-a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976.tar.lz yuzu-a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976.tar.xz yuzu-a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976.tar.zst yuzu-a3eb91ed8ce3384d5bb1cf6df2cea4a6ebb5a976.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_buffer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_buffer_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h index fc33aa433..f9247a40e 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.h +++ b/src/video_core/renderer_opengl/gl_buffer_cache.h @@ -42,9 +42,6 @@ public: return alignment; } - // We do not have to flush this cache as things in it are never modified by us. - void Flush() override {} - private: VAddr cpu_addr{}; std::size_t size{}; @@ -75,6 +72,9 @@ public: protected: void AlignBuffer(std::size_t alignment); + // We do not have to flush this cache as things in it are never modified by us. + void FlushObjectInner(const std::shared_ptr<CachedBufferEntry>& object) override {} + private: OGLStreamBuffer stream_buffer; |