mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-05 22:55:04 -06:00
gl: Fix crash in texture cache due to incorrect surface handling
This commit is contained in:
parent
85880e6037
commit
5907a6a67d
@ -305,7 +305,7 @@ namespace gl
|
|||||||
}
|
}
|
||||||
|
|
||||||
const bool linear_interp = is_depth_texture() ? false : true;
|
const bool linear_interp = is_depth_texture() ? false : true;
|
||||||
g_hw_blitter->scale_image(cmd, vram_texture, scaled_texture.get(), src_area, dst_area, linear_interp, {});
|
g_hw_blitter->scale_image(cmd, target_texture, scaled_texture.get(), src_area, dst_area, linear_interp, {});
|
||||||
target_texture = scaled_texture.get();
|
target_texture = scaled_texture.get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user