OGL: remove masking from streambuffer

We used this to disable pinned memory for index buffer, but as the detection
was reworked completely, it's just unused code.
This commit is contained in:
degasus
2014-01-09 18:52:05 +01:00
parent eb310cbd1d
commit 95aa977d81
2 changed files with 27 additions and 47 deletions

View File

@ -18,8 +18,6 @@
namespace OGL
{
enum StreamType {
DETECT_MASK = 0xFF,
STREAM_DETECT = (1 << 0),
MAP_AND_ORPHAN = (1 << 1),
MAP_AND_SYNC = (1 << 2),
MAP_AND_RISK = (1 << 3),
@ -32,7 +30,7 @@ enum StreamType {
class StreamBuffer {
public:
StreamBuffer(u32 type, size_t size, StreamType uploadType = DETECT_MASK);
StreamBuffer(u32 type, size_t size);
~StreamBuffer();
void Alloc(size_t size, u32 stride = 0);