]> git.sesse.net Git - movit/commit - util.cpp
Use VAOs to bind the VBOs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 8 Mar 2014 20:35:29 +0000 (21:35 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 8 Mar 2014 20:57:27 +0000 (21:57 +0100)
commitd398770154ecc4bc95282dc45656789dd5686309
tree949dedfb4d0b1103e1adc38d16b717c0ded473ec
parent92573f7be18bfca16dd3292cbe536d7d7912198f
Use VAOs to bind the VBOs.

Needed for OpenGL 3.2+ core context support. Also refactor a bit,
since the amount of boilerplate was getting over the top.
effect_chain.cpp
init.cpp
util.cpp
util.h