diff --git a/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp b/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp index 7474b3a84c..0c494693fc 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp @@ -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");