GPU: Fix operator warning

pull/1227/head
Albert Liu 5 years ago
parent 1c8a896a55
commit 2c76ad204a

@ -110,13 +110,13 @@ public:
/// Returns true if scanout should be interlaced.
ALWAYS_INLINE bool IsInterlacedDisplayEnabled() const
{
return (!m_force_progressive_scan) & m_GPUSTAT.vertical_interlace;
return (!m_force_progressive_scan) && m_GPUSTAT.vertical_interlace;
}
/// Returns true if interlaced rendering is enabled and force progressive scan is disabled.
ALWAYS_INLINE bool IsInterlacedRenderingEnabled() const
{
return (!m_force_progressive_scan) & m_GPUSTAT.SkipDrawingToActiveField();
return (!m_force_progressive_scan) && m_GPUSTAT.SkipDrawingToActiveField();
}
/// Returns the number of pending GPU ticks.

Loading…
Cancel
Save