{"action":"created","issue":{"url":"https://api.github.com/repos/gfx-rs/gfx-rs/issues/581","labels_url":"https://api.github.com/repos/gfx-rs/gfx-rs/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/gfx-rs/gfx-rs/issues/581/comments","events_url":"https://api.github.com/repos/gfx-rs/gfx-rs/issues/581/events","html_url":"https://github.com/gfx-rs/gfx-rs/issues/581","id":58409973,"number":581,"title":"Slice kind mutates in draw call","user":{"login":"mzmonsour","id":2503436,"avatar_url":"https://avatars.githubusercontent.com/u/2503436?v=3","gravatar_id":"","url":"https://api.github.com/users/mzmonsour","html_url":"https://github.com/mzmonsour","followers_url":"https://api.github.com/users/mzmonsour/followers","following_url":"https://api.github.com/users/mzmonsour/following{/other_user}","gists_url":"https://api.github.com/users/mzmonsour/gists{/gist_id}","starred_url":"https://api.github.com/users/mzmonsour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzmonsour/subscriptions","organizations_url":"https://api.github.com/users/mzmonsour/orgs","repos_url":"https://api.github.com/users/mzmonsour/repos","events_url":"https://api.github.com/users/mzmonsour/events{/privacy}","received_events_url":"https://api.github.com/users/mzmonsour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-20T21:02:23Z","updated_at":"2015-02-20T21:22:59Z","closed_at":null,"body":"When a Slice is provided to a Renderer via the draw method, it mutates the kind (zeroing it out). This visibly breaks the cube example after the first frame.\r\n\r\nBased on my debugging, I narrowed the mutation down to the line https://github.com/gfx-rs/gfx-rs/blob/master/src/render/lib.rs#L461"},"comment":{"url":"https://api.github.com/repos/gfx-rs/gfx-rs/issues/comments/75321460","html_url":"https://github.com/gfx-rs/gfx-rs/issues/581#issuecomment-75321460","issue_url":"https://api.github.com/repos/gfx-rs/gfx-rs/issues/581","id":75321460,"user":{"login":"csherratt","id":62622,"avatar_url":"https://avatars.githubusercontent.com/u/62622?v=3","gravatar_id":"","url":"https://api.github.com/users/csherratt","html_url":"https://github.com/csherratt","followers_url":"https://api.github.com/users/csherratt/followers","following_url":"https://api.github.com/users/csherratt/following{/other_user}","gists_url":"https://api.github.com/users/csherratt/gists{/gist_id}","starred_url":"https://api.github.com/users/csherratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csherratt/subscriptions","organizations_url":"https://api.github.com/users/csherratt/orgs","repos_url":"https://api.github.com/users/csherratt/repos","events_url":"https://api.github.com/users/csherratt/events{/privacy}","received_events_url":"https://api.github.com/users/csherratt/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T21:22:59Z","updated_at":"2015-02-20T21:22:59Z","body":"Yes, make a pull request. It would be appreciated."}}