mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Ignore clear if surface target is set to CELL_GCM_SURFACE_TARGET_NONE (#1898)
This commit is contained in:
parent
ba8fd825ec
commit
87e38118a5
1 changed files with 3 additions and 0 deletions
|
@ -108,6 +108,9 @@ namespace
|
|||
|
||||
void D3D12GSRender::clear_surface(u32 arg)
|
||||
{
|
||||
// Ignore clear if surface target is set to CELL_GCM_SURFACE_TARGET_NONE
|
||||
if (rsx::method_registers.surface_color_target() == rsx::surface_target::none) return;
|
||||
|
||||
std::chrono::time_point<std::chrono::system_clock> start_duration = std::chrono::system_clock::now();
|
||||
|
||||
std::chrono::time_point<std::chrono::system_clock> rtt_duration_start = std::chrono::system_clock::now();
|
||||
|
|
Loading…
Add table
Reference in a new issue