Fix compilation

This commit is contained in:
kd-11 2023-01-10 00:07:30 +03:00 committed by kd-11
parent aa5097e0d4
commit 29c1b20b41
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#pragma once
#include <util/types.hpp>
#include <concepts>
#include <string>
#include <utility>
namespace fmt

View File

@ -803,7 +803,7 @@ namespace rsx
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);
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
{
rsx->m_graphics_state |= rsx::pipeline_state::fragment_state_dirty;