diff options
| author | 2020-04-17 17:48:10 -0400 | |
|---|---|---|
| committer | 2020-04-17 17:48:10 -0400 | |
| commit | 30b59b732c906a79fc104d43114f2d2481577b9b (patch) | |
| tree | e3db19806b17f9d23940df577eb9b13733ed5881 | |
| parent | Merge pull request #3703 from yuzu-emu/revert-3656-glsl-full-decompile (diff) | |
| parent | video_code: Fix implicit switch fallthrough. (diff) | |
| download | yuzu-30b59b732c906a79fc104d43114f2d2481577b9b.tar.gz yuzu-30b59b732c906a79fc104d43114f2d2481577b9b.tar.xz yuzu-30b59b732c906a79fc104d43114f2d2481577b9b.zip | |
Merge pull request #3706 from degasus/fix_fallthrough_error
video_code: Fix implicit switch fallthrough.
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h index 89f0e04ef..2c0c77c28 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h | |||
| @@ -191,6 +191,7 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode, | |||
| 191 | case Tegra::Texture::TextureMipmapFilter::Linear: | 191 | case Tegra::Texture::TextureMipmapFilter::Linear: |
| 192 | return GL_LINEAR_MIPMAP_LINEAR; | 192 | return GL_LINEAR_MIPMAP_LINEAR; |
| 193 | } | 193 | } |
| 194 | break; | ||
| 194 | } | 195 | } |
| 195 | case Tegra::Texture::TextureFilter::Nearest: { | 196 | case Tegra::Texture::TextureFilter::Nearest: { |
| 196 | switch (mip_filter_mode) { | 197 | switch (mip_filter_mode) { |
| @@ -201,6 +202,7 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode, | |||
| 201 | case Tegra::Texture::TextureMipmapFilter::Linear: | 202 | case Tegra::Texture::TextureMipmapFilter::Linear: |
| 202 | return GL_NEAREST_MIPMAP_LINEAR; | 203 | return GL_NEAREST_MIPMAP_LINEAR; |
| 203 | } | 204 | } |
| 205 | break; | ||
| 204 | } | 206 | } |
| 205 | } | 207 | } |
| 206 | LOG_ERROR(Render_OpenGL, "Unimplemented texture filter mode={}", static_cast<u32>(filter_mode)); | 208 | LOG_ERROR(Render_OpenGL, "Unimplemented texture filter mode={}", static_cast<u32>(filter_mode)); |