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_rasterizer_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_rasterizer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index db280dbb3..4b21c555f 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -371,10 +371,6 @@ public: return memory_size; } - void Flush() override { - FlushGLBuffer(); - } - const OGLTexture& Texture() const { return texture; } @@ -473,6 +469,11 @@ public: void SignalPreDrawCall(); void SignalPostDrawCall(); +protected: + void FlushObjectInner(const Surface& object) override { + object->FlushGLBuffer(); + } + private: void LoadSurface(const Surface& surface); Surface GetSurface(const SurfaceParams& params, bool preserve_contents = true); |