Fix compilation
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user