Fix OpenGL compile error

This commit is contained in:
Alexander Bock
2017-07-03 11:58:58 -04:00
parent 644e7fbe98
commit de84bd0761
2 changed files with 2 additions and 2 deletions
@@ -77,7 +77,7 @@ public:
* is already mapped or if something else failed.
*/
void* mapBufferRange(KeyType key, GLintptr offset, GLsizeiptr length,
GLbitfield access);
BufferAccessMask access);
/**
* Unmaps all buffers in the PixelBufferContainer.
@@ -63,7 +63,7 @@ void* PixelBufferContainer<KeyType>::mapBuffer(KeyType key, PixelBuffer::Access
template <class KeyType>
void* PixelBufferContainer<KeyType>::mapBufferRange(KeyType key, GLintptr offset,
GLsizeiptr length, GLbitfield access)
GLsizeiptr length, BufferAccessMask access)
{
typename std::map<KeyType, int>::const_iterator iter = _indexMap.find(key);
bool notFoundAmongMappedBuffers = iter == _indexMap.end();