diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-04-07 16:59:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 16:59:41 +0200 |
commit | 4265372099be28590a880859bb0d1af0cb4fef72 (patch) | |
tree | 92fbcf05d6e7b3794679e43c3387d2c25cd3a4d5 /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | Merge pull request #8152 from liamwhite/gl-crop (diff) | |
parent | OpenGL: fix S8D24 to ABGR8 conversions (diff) | |
download | yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.gz yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.bz2 yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.lz yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.xz yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.zst yuzu-4265372099be28590a880859bb0d1af0cb4fef72.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index 53088b66e..672fa8dde 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -55,13 +55,14 @@ struct FormatProperties { class FormatConversionPass { public: - FormatConversionPass() = default; + explicit FormatConversionPass(UtilShaders& util_shaders); ~FormatConversionPass() = default; void ConvertImage(Image& dst_image, Image& src_image, std::span<const VideoCommon::ImageCopy> copies); private: + UtilShaders& util_shaders; OGLBuffer intermediate_pbo; size_t pbo_size{}; }; |