Here is the code: https://gist.github.com/elliotpotts/8983783
I don't understand what is wrong - I thought I'd done everything:
- Compiled shaders
- Linked program
- Generated index + vertex buffers
- Put data into the buffers
- Bound the buffers and used the programme
- Set up the vertex layout
- Drawn with `glDrawElements`
Any help or insight would be much appreciated!
Thanks. Ell.