mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +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
|
@ -110,7 +110,7 @@ public:
|
|||
virtual void SetupVertexPointers() = 0;
|
||||
|
||||
u32 GetVertexStride() const { return vtx_decl.stride; }
|
||||
PortableVertexDeclaration GetVertexDeclaration() const { return vtx_decl; }
|
||||
const PortableVertexDeclaration& GetVertexDeclaration() const { return vtx_decl; }
|
||||
|
||||
// TODO: move this under private:
|
||||
u32 m_components; // VB_HAS_X. Bitmask telling what vertex components are present.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue