Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Didn't mean to disable hacked buffer.
  • Loading branch information
Sonicadvance1 committed Jul 27, 2013
1 parent 8db9b61 commit bab2534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit bab2534

Please sign in to comment.