From cb78522620b2f8ce3402f5c630e8630f8908a93b Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 16 May 2019 15:56:59 +0300 Subject: [PATCH] rsx: Fixup for uninitialized surface antialiasing mode --- rpcs3/Emu/RSX/Common/surface_store.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpcs3/Emu/RSX/Common/surface_store.h b/rpcs3/Emu/RSX/Common/surface_store.h index 923e70cff1..68d48023c0 100644 --- a/rpcs3/Emu/RSX/Common/surface_store.h +++ b/rpcs3/Emu/RSX/Common/surface_store.h @@ -872,6 +872,9 @@ namespace rsx } #ifndef INCOMPLETE_SURFACE_CACHE_IMPL + // TODO: This can be done better after refactoring + new_surface->write_aa_mode = antialias; + // Check if old_surface is 'new' and avoid intersection if (old_surface && old_surface->last_use_tag >= write_tag) { @@ -1001,6 +1004,9 @@ namespace rsx } #ifndef INCOMPLETE_SURFACE_CACHE_IMPL + // TODO: Forward this to the management functions + new_surface->write_aa_mode = antialias; + // Check if old_surface is 'new' and avoid intersection if (old_surface && old_surface->last_use_tag >= write_tag) {