run gofmt

This commit is contained in:
nikitar020 2019-03-07 22:12:37 +07:00
parent 283a648fcb
commit 25adf3db19
2 changed files with 4 additions and 4 deletions

View File

@ -74,8 +74,8 @@ type GUI struct {
mouseCatchedOnButton glfw.MouseButton
prevMouseEventHandler mouseEventsHandler
internalResize bool
selectionRegionMode buffer.SelectionRegionMode
internalResize bool
selectionRegionMode buffer.SelectionRegionMode
vScrollbar *scrollbar
}

View File

@ -143,8 +143,8 @@ func (rr *rectangleRenderer) render(left float32, top float32, width float32, he
}
/*
gl.NamedBufferSubData(rr.vbo, 0, len(vertices)*4, gl.Ptr(&vertices[0]))
/*/
gl.NamedBufferSubData(rr.vbo, 0, len(vertices)*4, gl.Ptr(&vertices[0]))
/*/
gl.BindBuffer(gl.ARRAY_BUFFER, rr.vbo)
gl.BufferSubData(gl.ARRAY_BUFFER, 0, len(vertices)*4, gl.Ptr(&vertices[0]))
//*/