mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
ogl: remove glMapBuffer as it isn't in gles
This commit is contained in:
parent
1675f56f02
commit
23ce6b9227
4 changed files with 4 additions and 10 deletions
|
@ -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*)glMapBufferRange(m_buffertype, 0, m_size, GL_MAP_WRITE_BIT);
|
||||
glUnmapBuffer(m_buffertype);
|
||||
if(!pointer)
|
||||
ERROR_LOG(VIDEO, "Buffer allocation failed");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue