OlivierLi / Interceptor

Tiny "game" to play with OpenGL and shaders
The Unlicense
0 stars 0 forks source link

Correctly use daos #5

Open OlivierLi opened 10 years ago

OlivierLi commented 10 years ago

Right now daos are created but carry little to no state.

glVertexAttribPointer calls are made in the rendering functions. It is my understanding that this state should be carried over by the daos but without the calls nothing draws and there is even a catastrophic crash on AMD.