diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-30 04:27:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-30 04:27:08 +0100 |
commit | 3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de (patch) | |
tree | 070717665992f33e27d9f6531bb01c0a24569e60 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #2069 from lioncash/vi (diff) | |
parent | gl_shader_cache: Fix texture view for cubemaps as cubemap arrays (diff) | |
download | yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar.gz yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar.bz2 yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar.lz yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar.xz yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar.zst yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 37611c4fc..dae0feb20 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -225,6 +225,7 @@ struct SurfaceParams { SurfaceTarget target; u32 max_mip_level; bool is_layered; + bool is_array; bool srgb_conversion; // Parameters used for caching VAddr addr; @@ -294,7 +295,7 @@ public: } const OGLTexture& TextureLayer() { - if (params.is_layered) { + if (params.is_array) { return Texture(); } EnsureTextureView(); |