diff options
author | Markus Wick <markus@selfnet.de> | 2020-04-17 23:43:35 +0200 |
---|---|---|
committer | Markus Wick <markus@selfnet.de> | 2020-04-17 23:43:35 +0200 |
commit | 07fbef1776a30093023559f4ff7f37ece7e6e0e9 (patch) | |
tree | e3db19806b17f9d23940df577eb9b13733ed5881 /src/video_core | |
parent | Merge pull request #3703 from yuzu-emu/revert-3656-glsl-full-decompile (diff) | |
download | yuzu-07fbef1776a30093023559f4ff7f37ece7e6e0e9.tar yuzu-07fbef1776a30093023559f4ff7f37ece7e6e0e9.tar.gz yuzu-07fbef1776a30093023559f4ff7f37ece7e6e0e9.tar.bz2 yuzu-07fbef1776a30093023559f4ff7f37ece7e6e0e9.tar.lz yuzu-07fbef1776a30093023559f4ff7f37ece7e6e0e9.tar.xz yuzu-07fbef1776a30093023559f4ff7f37ece7e6e0e9.tar.zst yuzu-07fbef1776a30093023559f4ff7f37ece7e6e0e9.zip |
Diffstat (limited to 'src/video_core')
-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, case Tegra::Texture::TextureMipmapFilter::Linear: return GL_LINEAR_MIPMAP_LINEAR; } + break; } case Tegra::Texture::TextureFilter::Nearest: { switch (mip_filter_mode) { @@ -201,6 +202,7 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode, case Tegra::Texture::TextureMipmapFilter::Linear: return GL_NEAREST_MIPMAP_LINEAR; } + break; } } LOG_ERROR(Render_OpenGL, "Unimplemented texture filter mode={}", static_cast<u32>(filter_mode)); |