From 57f2cd5f9e0d56a16107ec85ad41097f746d333c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 8 Jan 2024 22:40:49 +1000 Subject: [PATCH] GS: Make GSDrawingContext and GSDrawingEnvironment POD --- pcsx2/GS/GSDrawingContext.cpp | 7 ------- pcsx2/GS/GSDrawingContext.h | 2 -- pcsx2/GS/GSDrawingEnvironment.h | 4 ---- 3 files changed, 13 deletions(-) diff --git a/pcsx2/GS/GSDrawingContext.cpp b/pcsx2/GS/GSDrawingContext.cpp index f83e76beb0..dab334c885 100644 --- a/pcsx2/GS/GSDrawingContext.cpp +++ b/pcsx2/GS/GSDrawingContext.cpp @@ -66,13 +66,6 @@ static int extend(int uv, int size) return size; } -GSDrawingContext::GSDrawingContext() -{ - std::memset(&offset, 0, sizeof(offset)); - - Reset(); -} - void GSDrawingContext::Reset() { std::memset(&XYOFFSET, 0, sizeof(XYOFFSET)); diff --git a/pcsx2/GS/GSDrawingContext.h b/pcsx2/GS/GSDrawingContext.h index 7e8db9e455..72fd598dba 100644 --- a/pcsx2/GS/GSDrawingContext.h +++ b/pcsx2/GS/GSDrawingContext.h @@ -40,8 +40,6 @@ public: GSPixelOffset4* fzb4; } offset; - GSDrawingContext(); - void Reset(); void UpdateScissor(); diff --git a/pcsx2/GS/GSDrawingEnvironment.h b/pcsx2/GS/GSDrawingEnvironment.h index 4aea6a5d4f..42f110fe3d 100644 --- a/pcsx2/GS/GSDrawingEnvironment.h +++ b/pcsx2/GS/GSDrawingEnvironment.h @@ -23,10 +23,6 @@ public: GIFRegTRXREG TRXREG; GSDrawingContext CTXT[2]; - GSDrawingEnvironment() - { - } - void Reset() { memset(&PRIM, 0, sizeof(PRIM));