Restructure some internal vertex buffer binding code to be closer to how graphics APIs actually behave.

This commit is contained in:
Alex Szpakowski
2019-08-25 16:50:15 -03:00
parent 932068e777
commit 55d4dc0f9e
12 changed files with 117 additions and 92 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ public:
/**
* Set all vertex attribute state.
**/
void setVertexAttributes(const vertex::Attributes &attributes, const vertex::Buffers &buffers);
void setVertexAttributes(const vertex::Attributes &attributes, const vertex::BufferBindings &buffers);
/**
* Wrapper for glCullFace which eliminates redundant state setting.