diff options
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/AbstractGfx.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/AbstractGfx.h b/Source/Core/VideoCommon/AbstractGfx.h index 2db077c98c..eb5944fc84 100644 --- a/Source/Core/VideoCommon/AbstractGfx.h +++ b/Source/Core/VideoCommon/AbstractGfx.h @@ -55,6 +55,8 @@ using ClearColor = std::array<float, 4>; class AbstractGfx { public: + virtual ~AbstractGfx() = default; + virtual bool IsHeadless() const = 0; virtual void SetPipeline(const AbstractPipeline* pipeline) {} diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h index fb88dfd1eb..7bd18e16e7 100644 --- a/Source/Core/VideoCommon/RenderBase.h +++ b/Source/Core/VideoCommon/RenderBase.h @@ -90,8 +90,8 @@ public: float EFBToScaledXf(float x) const; float EFBToScaledYf(float y) const; - virtual void ClearScreen(const MathUtil::Rectangle<int>& rc, bool colorEnable, bool alphaEnable, - bool zEnable, u32 color, u32 z); + void ClearScreen(const MathUtil::Rectangle<int>& rc, bool colorEnable, bool alphaEnable, + bool zEnable, u32 color, u32 z); virtual void ReinterpretPixelData(EFBReinterpretType convtype); void RenderToXFB(u32 xfbAddr, const MathUtil::Rectangle<int>& sourceRc, u32 fbStride, u32 fbHeight, float Gamma = 1.0f); |
