1
0
Fork 0

Merge pull request #3601 from lioncash/null

gl_rasterizer: Fix incorrect comparison against src_surface in AccelerateTextureCopy()
This commit is contained in:
Weiyi Wang 2018-03-29 09:44:10 +03:00 committed by GitHub
commit 690d92a019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1093,7 +1093,7 @@ bool RasterizerOpenGL::AccelerateTextureCopy(const GPU::Regs::DisplayTransferCon
Surface dst_surface; Surface dst_surface;
std::tie(dst_surface, dst_rect) = std::tie(dst_surface, dst_rect) =
res_cache.GetSurfaceSubRect(dst_params, ScaleMatch::Upscale, load_gap); res_cache.GetSurfaceSubRect(dst_params, ScaleMatch::Upscale, load_gap);
if (src_surface == nullptr) { if (dst_surface == nullptr) {
return false; return false;
} }