diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-10 01:28:58 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-10-16 17:31:00 +0200 |
commit | 0be7e8228952c2e08644e4ebc56aa0274042bdae (patch) | |
tree | 227db4acf1d8b116c3b792048c7b35bf4a5f5e30 /src/video_core/renderer_opengl/gl_buffer_cache.h | |
parent | gl_rasterizer_cache: Reintroduce code for handling swizzle and flush to guest RAM. (diff) | |
download | yuzu-0be7e8228952c2e08644e4ebc56aa0274042bdae.tar yuzu-0be7e8228952c2e08644e4ebc56aa0274042bdae.tar.gz yuzu-0be7e8228952c2e08644e4ebc56aa0274042bdae.tar.bz2 yuzu-0be7e8228952c2e08644e4ebc56aa0274042bdae.tar.lz yuzu-0be7e8228952c2e08644e4ebc56aa0274042bdae.tar.xz yuzu-0be7e8228952c2e08644e4ebc56aa0274042bdae.tar.zst yuzu-0be7e8228952c2e08644e4ebc56aa0274042bdae.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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h index 965976334..b389ca684 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.h +++ b/src/video_core/renderer_opengl/gl_buffer_cache.h @@ -24,6 +24,9 @@ struct CachedBufferEntry final { return size; } + // We do not have to flush this cache as things in it are never modified by us. + void Flush() {} + VAddr addr; std::size_t size; GLintptr offset; |