diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-12 22:48:30 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-12 22:56:19 +0100 |
commit | 054e39647c485e46e442cc9c9baa7f1d7c386326 (patch) | |
tree | 57ea8bf9a62ca42c3468cccf42822e26400fc0b6 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | gl_rasterizer_cache: Get rid of variable shadowing (diff) | |
download | yuzu-054e39647c485e46e442cc9c9baa7f1d7c386326.tar yuzu-054e39647c485e46e442cc9c9baa7f1d7c386326.tar.gz yuzu-054e39647c485e46e442cc9c9baa7f1d7c386326.tar.bz2 yuzu-054e39647c485e46e442cc9c9baa7f1d7c386326.tar.lz yuzu-054e39647c485e46e442cc9c9baa7f1d7c386326.tar.xz yuzu-054e39647c485e46e442cc9c9baa7f1d7c386326.tar.zst yuzu-054e39647c485e46e442cc9c9baa7f1d7c386326.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 16cda568b..89d733c50 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -36,7 +36,6 @@ using PixelFormat = VideoCore::Surface::PixelFormat; using ComponentType = VideoCore::Surface::ComponentType; struct SurfaceParams { - enum class SurfaceClass { Uploaded, RenderTarget, @@ -185,7 +184,6 @@ struct SurfaceParams { if (bd == 32) { const u32 bh = MipBlockHeight(mip_level); - if (bh >= 4) { return 16; } |