Remove vertex streaming hack.

NV has buffer_storage, AMD has pinned memory.
Both are better than that hack which shouldn't ever have been introduced in the first place.
This commit is contained in:
Tony Wasserka
2014-01-15 23:16:10 +01:00
parent b49c09c36b
commit f1adc56a56
6 changed files with 4 additions and 41 deletions

View File

@ -20,11 +20,10 @@ namespace OGL
enum StreamType {
MAP_AND_ORPHAN = (1 << 1),
MAP_AND_SYNC = (1 << 2),
MAP_AND_RISK = (1 << 3),
PINNED_MEMORY = (1 << 4),
BUFFERSUBDATA = (1 << 5),
BUFFERDATA = (1 << 6),
BUFFERSTORAGE = (1 << 7),
PINNED_MEMORY = (1 << 3),
BUFFERSUBDATA = (1 << 4),
BUFFERDATA = (1 << 5),
BUFFERSTORAGE = (1 << 6),
};
class StreamBuffer {