diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-04 20:12:25 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-04 20:14:49 +0100 |
commit | 5213f702307e43520ad5f264e613acdfec597077 (patch) | |
tree | 038455c37e70b4bfeb2bc2085fe131df0cd06dac /src/video_core/renderer_opengl | |
parent | renderer_opengl: Swizzle BGR textures on copy (diff) | |
download | yuzu-5213f702307e43520ad5f264e613acdfec597077.tar yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.gz yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.bz2 yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.lz yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.xz yuzu-5213f702307e43520ad5f264e613acdfec597077.tar.zst yuzu-5213f702307e43520ad5f264e613acdfec597077.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index a6172f009..3fbaa102f 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -86,6 +86,11 @@ public: FormatProperties FormatInfo(VideoCommon::ImageType type, GLenum internal_format) const; + bool HasNativeBgr() const noexcept { + // OpenGL does not have native support for the BGR internal format + return false; + } + bool HasBrokenTextureViewFormats() const noexcept { return has_broken_texture_view_formats; } |