diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index 8e6b83bc45..a60ea5feec 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -584,7 +584,7 @@ bool SurfaceParams::CanSubRect(const SurfaceParams& sub_surface) const { sub_surface.is_tiled == is_tiled && (sub_surface.addr - addr) % BytesInPixels(is_tiled ? 64 : 1) == 0 && (sub_surface.stride == stride || sub_surface.height <= (is_tiled ? 8u : 1u)) && - GetSubRect(sub_surface).left + sub_surface.width <= stride; + GetSubRect(sub_surface).right <= stride; } bool SurfaceParams::CanExpand(const SurfaceParams& expanded_surface) const {