Didn't mean to disable hacked buffer.
This commit is contained in:
parent
8db9b61be6
commit
bab2534c36
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue