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

@ -41,7 +41,7 @@ public:
// needs to be virtual for DX11's dtor
virtual ~VertexManager();
static DataReader PrepareForAdditionalData(int primitive, u32 count, u32 stride);
static DataReader PrepareForAdditionalData(int primitive, u32 count, u32 stride, bool cullall);
static void FlushData(u32 count, u32 stride);
static void Flush();
@ -67,6 +67,8 @@ protected:
static Slope ZSlope;
static void CalculateZSlope(NativeVertexFormat *format);
static bool CullAll;
private:
static bool IsFlushed;