mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Stop doing nastly shit to OpenGL stream buffers.
Instead we keep the loaded vertices in CPU memory.
This commit is contained in:
parent
5510c86b81
commit
14baf038e7
6 changed files with 79 additions and 54 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue