mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Fix compilation
This commit is contained in:
parent
aa5097e0d4
commit
29c1b20b41
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <util/types.hpp>
|
#include <util/types.hpp>
|
||||||
|
|
||||||
#include <concepts>
|
#include <concepts>
|
||||||
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
namespace fmt
|
namespace fmt
|
||||||
|
|
|
@ -803,7 +803,7 @@ namespace rsx
|
||||||
const auto current = method_registers.decode<NV4097_SET_SURFACE_FORMAT>(arg);
|
const auto current = method_registers.decode<NV4097_SET_SURFACE_FORMAT>(arg);
|
||||||
const auto previous = method_registers.decode<NV4097_SET_SURFACE_FORMAT>(method_registers.register_previous_value);
|
const auto previous = method_registers.decode<NV4097_SET_SURFACE_FORMAT>(method_registers.register_previous_value);
|
||||||
|
|
||||||
if (current.antialias() != previous.antialias() || // Antialias control has changed, update ROP parameters
|
if (*current.antialias() != *previous.antialias() || // Antialias control has changed, update ROP parameters
|
||||||
current.is_integer_color_format() != previous.is_integer_color_format()) // The type of color format also requires ROP control update
|
current.is_integer_color_format() != previous.is_integer_color_format()) // The type of color format also requires ROP control update
|
||||||
{
|
{
|
||||||
rsx->m_graphics_state |= rsx::pipeline_state::fragment_state_dirty;
|
rsx->m_graphics_state |= rsx::pipeline_state::fragment_state_dirty;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue