Didn't mean to disable hacked buffer.

This commit is contained in:
Ryan Houdek 2013-07-27 00:51:26 +00:00
parent 8db9b61be6
commit bab2534c36
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ void StreamBuffer::Init()
case MAP_AND_RISK:
glBindBuffer(m_buffertype, m_buffer);
glBufferData(m_buffertype, m_size, NULL, GL_STREAM_DRAW);
//pointer = (u8*)glMapBuffer(m_buffertype, GL_WRITE_ONLY);
pointer = (u8*)glMapBuffer(m_buffertype, GL_WRITE_ONLY);
glUnmapBuffer(m_buffertype);
if(!pointer)
ERROR_LOG(VIDEO, "Buffer allocation failed");