GS/Null: Move methods to cpp file

This commit is contained in:
Connor McLaughlin 2021-12-23 23:21:01 +10:00 committed by refractionpcsx2
parent ea41cce5ef
commit f4b38662fa
2 changed files with 15 additions and 22 deletions

View File

@ -15,3 +15,14 @@
#include "PrecompiledHeader.h"
#include "GSRendererNull.h"
GSRendererNull::GSRendererNull() = default;
void GSRendererNull::Draw()
{
}
GSTexture* GSRendererNull::GetOutput(int i, int& y_offset)
{
return nullptr;
}

View File

@ -18,29 +18,11 @@
#include "GS/Renderers/Common/GSRenderer.h"
class GSRendererNull final : public GSRenderer
{
class GSVertexTraceNull : public GSVertexTrace
{
public:
GSVertexTraceNull(const GSState* state)
: GSVertexTrace(state)
{
}
};
GSRendererNull();
protected:
void Draw() override
{
}
GSTexture* GetOutput(int i, int& y_offset) override
{
return NULL;
}
public:
GSRendererNull()
: GSRenderer()
{
}
void Draw() override;
GSTexture* GetOutput(int i, int& y_offset) override;
};