mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 15:40:30 +01: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;
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue