]> git.tdb.fi Git - libs/gl.git/commit
Only allow VertexArray's format to be set once
authorMikko Rasa <tdb@tdb.fi>
Wed, 4 Aug 2021 17:58:42 +0000 (20:58 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 4 Aug 2021 19:53:53 +0000 (22:53 +0300)
commitd40673bd28c4b4524d3642b949d9d109dc6f9f24
tree1cdf0590e6c0a499f34de4521283fd7fd5f18505
parent11266e8093e56524a68de1d0a08d275de95c56a0
Only allow VertexArray's format to be set once

Also affects related classes like VertexSetup and Mesh.  This will make
state management with Vulkan easier.
source/core/mesh.cpp
source/core/mesh.h
source/core/vertexarray.cpp
source/core/vertexarray.h
source/core/vertexsetup.cpp
source/core/vertexsetup.h
source/render/instancearray.cpp