Version
4.0-692
Branch
StreamBuffers
Date
9 years, 2 months ago
Windows x64 Windows x86 Mac OS X Android
Commit
15452ec75976e7566f8155dba2d802615d1adbee
Change author
degasus
Change description
OpenGL: refactor all of our StreamBuffers

The old way was to use big switch/case statements based on a type of buffer.
The new one is to use inheritance.

This change prohibits us to change the buffer type while running, but I doubt we'll ever do so.
Performance should also be a bit better. Also a nice cleanup.

Added some comments about this different kind of buffers.