mirror of https://github.com/PCSX2/pcsx2.git
GS: Make GSDrawingContext and GSDrawingEnvironment POD
This commit is contained in:
parent
50d8d06a94
commit
57f2cd5f9e
|
@ -66,13 +66,6 @@ static int extend(int uv, int size)
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
GSDrawingContext::GSDrawingContext()
|
|
||||||
{
|
|
||||||
std::memset(&offset, 0, sizeof(offset));
|
|
||||||
|
|
||||||
Reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
void GSDrawingContext::Reset()
|
void GSDrawingContext::Reset()
|
||||||
{
|
{
|
||||||
std::memset(&XYOFFSET, 0, sizeof(XYOFFSET));
|
std::memset(&XYOFFSET, 0, sizeof(XYOFFSET));
|
||||||
|
|
|
@ -40,8 +40,6 @@ public:
|
||||||
GSPixelOffset4* fzb4;
|
GSPixelOffset4* fzb4;
|
||||||
} offset;
|
} offset;
|
||||||
|
|
||||||
GSDrawingContext();
|
|
||||||
|
|
||||||
void Reset();
|
void Reset();
|
||||||
|
|
||||||
void UpdateScissor();
|
void UpdateScissor();
|
||||||
|
|
|
@ -23,10 +23,6 @@ public:
|
||||||
GIFRegTRXREG TRXREG;
|
GIFRegTRXREG TRXREG;
|
||||||
GSDrawingContext CTXT[2];
|
GSDrawingContext CTXT[2];
|
||||||
|
|
||||||
GSDrawingEnvironment()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void Reset()
|
void Reset()
|
||||||
{
|
{
|
||||||
memset(&PRIM, 0, sizeof(PRIM));
|
memset(&PRIM, 0, sizeof(PRIM));
|
||||||
|
|
Loading…
Reference in New Issue