Έκδοση
4.0-694
Διακλάδωση
StreamBuffers
Ημερομηνία
πριν από 10 χρόνια, 10 μήνες
Windows x64 Windows x86 Mac OS X
Commit
128fcdac26a9f7b6eb5174b88483c7ca023f210b
Αλλαγή συγγραφέα
degasus
Αλλαγή περιγραφής
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.