mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-16 19:15:42 -04:00
GPU: Fix operator warning
This commit is contained in:
parent
1c8a896a55
commit
2c76ad204a
@ -110,13 +110,13 @@ public:
|
|||||||
/// Returns true if scanout should be interlaced.
|
/// Returns true if scanout should be interlaced.
|
||||||
ALWAYS_INLINE bool IsInterlacedDisplayEnabled() const
|
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.
|
/// Returns true if interlaced rendering is enabled and force progressive scan is disabled.
|
||||||
ALWAYS_INLINE bool IsInterlacedRenderingEnabled() const
|
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.
|
/// Returns the number of pending GPU ticks.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user