Stop doing nastly shit to OpenGL stream buffers.

Instead we keep the loaded vertices in CPU memory.
This commit is contained in:
Scott Mansell
2015-01-24 14:37:20 +13:00
parent 5510c86b81
commit 14baf038e7
6 changed files with 79 additions and 54 deletions

View File

@ -45,6 +45,10 @@ private:
void Draw(u32 stride);
void vFlush(bool useDstAlpha) override;
void PrepareDrawBuffers(u32 stride);
// Alternative buffers in CPU memory for primatives we are going to discard.
std::vector<u8> CpuVBuffer;
std::vector<u16> CpuIBuffer;
};
}