]> git.tdb.fi Git - libs/gl.git/commit
Remove the notion of default binding point from Buffer
authorMikko Rasa <tdb@tdb.fi>
Wed, 11 Aug 2021 21:09:01 +0000 (00:09 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 12 Aug 2021 19:32:18 +0000 (22:32 +0300)
commitf1244e29afd2a36aafc2373d485457b4cb0411ff
treeac8bc5bf059e1645fb31d10a0a46c5e2df62f567
parent4d146fba83f1ee7b8bd2249648a66db51857730f
Remove the notion of default binding point from Buffer

It's more robust to always specify the binding point when using the
buffer.

ARRAY_BUFFER is used for buffer operations because it's always available
and is only used transiently by other code so there's no interference.
source/core/buffer.cpp
source/core/buffer.h
source/core/mesh.cpp
source/core/texture2d.cpp
source/render/instancearray.cpp
source/render/programdata.cpp