diff options
author | bunnei <bunneidev@gmail.com> | 2019-07-25 18:34:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-25 18:34:36 +0200 |
commit | 31e8a61527df805529a9c0bbda735be7cb9e38c9 (patch) | |
tree | 5edfff9af910daa29753b224c7f68013eb05f61b /src/video_core/renderer_opengl | |
parent | Merge pull request #2704 from FernandoS27/conditional (diff) | |
parent | Shader_Ir: Change Debug Asserts for Log Warnings (diff) | |
download | yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.gz yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.bz2 yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.lz yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.xz yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.zst yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 1 |
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 8fcd39a69..408332f90 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; } |