summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_texture_cache.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-04 20:12:25 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-03-04 20:14:49 +0100
commit5213f702307e43520ad5f264e613acdfec597077 (patch)
tree038455c37e70b4bfeb2bc2085fe131df0cd06dac /src/video_core/renderer_opengl/gl_texture_cache.h
parentrenderer_opengl: Swizzle BGR textures on copy (diff)
downloadyuzu-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/gl_texture_cache.h')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.h5
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;
}