cginternals / cginternals/globjects
Buffer legacy implementation default target
Open
decision required
feature request
- Dominant language
- C++
- Stars
- 563
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
The current code for legacy buffer implementation use a static target by default and all calls bind this static target before calling the GL function.
So, it's not possible to have both a PBO and a VBO in a program with the current buffer class.
The solution would be to set the target as a non-static member and a setTarget would change it.
Another solution would be to remove all glBindBuffer calls from the legacy implementation but that could break other people's code.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.