TextureCache: Fix case where layer goes off bound.
The returned layer is expected to be between 0 and the depth of the surface, anything larger is off bounds.
Loading
Please register or sign in to comment
The returned layer is expected to be between 0 and the depth of the surface, anything larger is off bounds.