forked from StudioInfinity/dyna3
In the process, find and correct a misunderstanding about vertex attributes. Here's my current understanding. Vertex attributes are program-independent. When you make a draw call, every enabled attribute has to have a vertex buffer object bound to it. A simple way to make sure this happens is to enable only the attributes used by the active program. |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| index.html | ||
| main.css | ||
| run-examples | ||