diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-02-28 01:36:06 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-02-28 02:58:50 +0100 |
commit | 7ea097e5c25737e681ad8ba007e655a7c6bfba31 (patch) | |
tree | bec7ddf4e5956e2d993b49f8e736f8854664ed01 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Corrections and redesign. (diff) | |
download | yuzu-7ea097e5c25737e681ad8ba007e655a7c6bfba31.tar yuzu-7ea097e5c25737e681ad8ba007e655a7c6bfba31.tar.gz yuzu-7ea097e5c25737e681ad8ba007e655a7c6bfba31.tar.bz2 yuzu-7ea097e5c25737e681ad8ba007e655a7c6bfba31.tar.lz yuzu-7ea097e5c25737e681ad8ba007e655a7c6bfba31.tar.xz yuzu-7ea097e5c25737e681ad8ba007e655a7c6bfba31.tar.zst yuzu-7ea097e5c25737e681ad8ba007e655a7c6bfba31.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 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index d530d64d4..797bbdc9c 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -544,17 +544,13 @@ private: return nullptr; } - void Register(const Surface& object) { - RasterizerCache<Surface>::Register(object); - } - /// Unregisters an object from the cache - void Unregister(const Surface& object) { + void UnregisterSurface(const Surface& object) { if (object->IsReinterpreted()) { auto interval = GetReinterpretInterval(object); reinterpreted_surfaces.erase(interval); } - RasterizerCache<Surface>::Unregister(object); + Unregister(object); } }; |