diff options
Diffstat (limited to 'src')
| -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 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 | |||
| 137 | const FormatTuple& GetFormatTuple(PixelFormat pixel_format, ComponentType component_type) { | 137 | const FormatTuple& GetFormatTuple(PixelFormat pixel_format, ComponentType component_type) { |
| 138 | ASSERT(static_cast<std::size_t>(pixel_format) < tex_format_tuples.size()); | 138 | ASSERT(static_cast<std::size_t>(pixel_format) < tex_format_tuples.size()); |
| 139 | const auto& format{tex_format_tuples[static_cast<std::size_t>(pixel_format)]}; | 139 | const auto& format{tex_format_tuples[static_cast<std::size_t>(pixel_format)]}; |
| 140 | ASSERT(component_type == format.component_type); | ||
| 141 | return format; | 140 | return format; |
| 142 | } | 141 | } |
| 143 | 142 | ||