From bab2534c36adca49d00ab29f1368733ec277fc4c Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 27 Jul 2013 00:51:26 +0000 Subject: [PATCH] Didn't mean to disable hacked buffer. --- Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");