This commit is contained in:
Branimir Karadžić 2017-07-17 22:14:34 -07:00
parent f76d3bd33e
commit a247d29298
2 changed files with 29 additions and 31 deletions

View File

@ -290,7 +290,7 @@ namespace entry
case NSLeftMouseUp: case NSLeftMouseUp:
m_eventQueue.postMouseEvent(s_defaultWindow, m_mx, m_my, m_scroll, MouseButton::Left, false); m_eventQueue.postMouseEvent(s_defaultWindow, m_mx, m_my, m_scroll, MouseButton::Left, false);
m_eventQueue.postMouseEvent(s_defaultWindow, m_mx, m_my, m_scroll, MouseButton::Middle, false); // TODO: remove! m_eventQueue.postMouseEvent(s_defaultWindow, m_mx, m_my, m_scroll, MouseButton::Middle, false);
break; break;
case NSRightMouseDown: case NSRightMouseDown:

View File

@ -7161,7 +7161,6 @@ namespace bgfx { namespace gl
{ {
const IndexBufferGL& buffer = m_indexBuffers[bind.m_idx]; const IndexBufferGL& buffer = m_indexBuffers[bind.m_idx];
GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, stage, buffer.m_id) ); GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, stage, buffer.m_id) );
// TODO: barriers?
} }
break; break;
@ -7169,7 +7168,6 @@ namespace bgfx { namespace gl
{ {
const VertexBufferGL& buffer = m_vertexBuffers[bind.m_idx]; const VertexBufferGL& buffer = m_vertexBuffers[bind.m_idx];
GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, stage, buffer.m_id) ); GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, stage, buffer.m_id) );
// TODO: barriers?
} }
break; break;
} }