Merge pull request #12411 from lioncash/build

Software/SWGfx: Default destructor in cpp file
This commit is contained in:
Admiral H. Curtiss 2023-12-13 03:14:41 +01:00 committed by GitHub
commit 3f06d32dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,8 @@ SWGfx::SWGfx(std::unique_ptr<SWOGLWindow> window) : m_window(std::move(window))
{
}
SWGfx::~SWGfx() = default;
bool SWGfx::IsHeadless() const
{
return m_window->IsHeadless();

View File

@ -12,7 +12,8 @@ namespace SW
class SWGfx final : public AbstractGfx
{
public:
SWGfx(std::unique_ptr<SWOGLWindow> window);
explicit SWGfx(std::unique_ptr<SWOGLWindow> window);
~SWGfx() override;
bool IsHeadless() const override;
virtual bool SupportsUtilityDrawing() const override;