mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
savestate vertexmanager (base) since it affects VertexLoader::RunVertices which affects g_pVideoData
This commit is contained in:
parent
ae242e5675
commit
99b202fd2e
5 changed files with 39 additions and 8 deletions
|
@ -3,6 +3,7 @@
|
|||
#define _VERTEXMANAGERBASE_H
|
||||
|
||||
class NativeVertexFormat;
|
||||
class PointerWrap;
|
||||
|
||||
class VertexManager
|
||||
{
|
||||
|
@ -44,6 +45,8 @@ public:
|
|||
static u16* GetPointIndexBuffer() { return PIBuffer; }
|
||||
static u8* GetVertexBuffer() { return LocalVBuffer; }
|
||||
|
||||
static void DoState(PointerWrap& p);
|
||||
|
||||
protected:
|
||||
// TODO: make private after Flush() is merged
|
||||
static void ResetBuffer();
|
||||
|
@ -55,6 +58,9 @@ protected:
|
|||
|
||||
static bool Flushed;
|
||||
|
||||
virtual void vDoState(PointerWrap& p) { DoStateShared(p); }
|
||||
void DoStateShared(PointerWrap& p);
|
||||
|
||||
private:
|
||||
static void AddIndices(int primitive, int numVertices);
|
||||
//virtual void Draw(u32 stride, bool alphapass) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue