diff options
| author | Stenzek <stenzek@gmail.com> | 2015-12-20 00:34:56 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2015-12-20 14:42:14 +1000 |
| commit | a61fc372bbb538cba7bf43a6402f3036fb468810 (patch) | |
| tree | 02d3994714326189f0f57c7fc21efb970aedb567 /Source/Core/VideoCommon/RenderBase.h | |
| parent | 7b628c99ec4731ab606b8dd50ce3c3223d81b4eb (diff) | |
VideoCommon: Change PokeEFB to take a pointer rather than a vector
This saves allocating a vector for the pass-through path.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h index ad53f2f20c..773fb45ee5 100644 --- a/Source/Core/VideoCommon/RenderBase.h +++ b/Source/Core/VideoCommon/RenderBase.h @@ -115,7 +115,7 @@ public: static void RenderToXFB(u32 xfbAddr, const EFBRectangle& sourceRc, u32 fbStride, u32 fbHeight, float Gamma = 1.0f); virtual u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) = 0; - virtual void PokeEFB(EFBAccessType type, const std::vector<EfbPokeData>& data); + virtual void PokeEFB(EFBAccessType type, const EfbPokeData* points, size_t num_points) = 0; virtual u16 BBoxRead(int index) = 0; virtual void BBoxWrite(int index, u16 value) = 0; |
