diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-08 12:08:00 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-08 12:16:38 +0100 |
commit | 9046f764bfb0097b827c585514f284124a61effd (patch) | |
tree | 4c287a55151114f70b2104e4df1e90af1d52073f /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | gl_resource_manager: Amend clang-format discrepancies (diff) | |
download | yuzu-9046f764bfb0097b827c585514f284124a61effd.tar yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.gz yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.bz2 yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.lz yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.xz yuzu-9046f764bfb0097b827c585514f284124a61effd.tar.zst yuzu-9046f764bfb0097b827c585514f284124a61effd.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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index c0b6bc4e6..494f6b903 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -264,6 +264,8 @@ struct hash<SurfaceReserveKey> { namespace OpenGL { +class RasterizerOpenGL; + class CachedSurface final : public RasterizerCacheObject { public: CachedSurface(const SurfaceParams& params); @@ -311,7 +313,7 @@ private: class RasterizerCacheOpenGL final : public RasterizerCache<Surface> { public: - RasterizerCacheOpenGL(); + explicit RasterizerCacheOpenGL(RasterizerOpenGL& rasterizer); /// Get a surface based on the texture configuration Surface GetTextureSurface(const Tegra::Texture::FullTextureInfo& config, |