summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/object.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-11-29 16:51:14 -0300
committerGravatar ReinUsesLisp2019-11-29 16:51:14 -0300
commitff64c3951a1daff33d7c66058bb7c4edbb162fbf (patch)
tree54062097312593d1396128bef4d7de3de5ea603e /src/core/hle/kernel/object.cpp
parentMerge pull request #3169 from lioncash/memory (diff)
downloadyuzu-ff64c3951a1daff33d7c66058bb7c4edbb162fbf.tar.gz
yuzu-ff64c3951a1daff33d7c66058bb7c4edbb162fbf.tar.xz
yuzu-ff64c3951a1daff33d7c66058bb7c4edbb162fbf.zip
texture_cache/surface_base: Fix out of bounds texture views
Some texture views were being created out of bounds (with more layers or mipmaps than what the original texture has). This is because of a miscalculation in mipmap bounding. end_layer and end_mipmap are out of bounds (e.g. layer 6 in a cubemap), there's no need to add one more there. Fixes OpenGL errors and Vulkan crashes on Splatoon 2.
Diffstat (limited to 'src/core/hle/kernel/object.cpp')
0 files changed, 0 insertions, 0 deletions