summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:20:31 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:20:31 +0200
commitd3b71ff80d73ce83afb5e409b88cbb49f87b54bd (patch)
tree43a64170d6140470ba0b973727e96697a9a5d93b /src/video_core
parentShader_Ir: Downgrade precision and rounding asserts to debug asserts. (diff)
downloadyuzu-d3b71ff80d73ce83afb5e409b88cbb49f87b54bd.tar
yuzu-d3b71ff80d73ce83afb5e409b88cbb49f87b54bd.tar.gz
yuzu-d3b71ff80d73ce83afb5e409b88cbb49f87b54bd.tar.bz2
yuzu-d3b71ff80d73ce83afb5e409b88cbb49f87b54bd.tar.lz
yuzu-d3b71ff80d73ce83afb5e409b88cbb49f87b54bd.tar.xz
yuzu-d3b71ff80d73ce83afb5e409b88cbb49f87b54bd.tar.zst
yuzu-d3b71ff80d73ce83afb5e409b88cbb49f87b54bd.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index b1f6bc7c2..6ecb02c45 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -137,7 +137,6 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format
const FormatTuple& GetFormatTuple(PixelFormat pixel_format, ComponentType component_type) {
ASSERT(static_cast<std::size_t>(pixel_format) < tex_format_tuples.size());
const auto& format{tex_format_tuples[static_cast<std::size_t>(pixel_format)]};
- ASSERT(component_type == format.component_type);
return format;
}