{"action":"created","issue":{"url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/138","labels_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/138/comments","events_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/138/events","html_url":"https://github.com/d-gamedev-team/gfm/pull/138","id":111599776,"number":138,"title":"Add API for setting attribute divisor","user":{"login":"Yoplitein","id":4528762,"avatar_url":"https://avatars.githubusercontent.com/u/4528762?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoplitein","html_url":"https://github.com/Yoplitein","followers_url":"https://api.github.com/users/Yoplitein/followers","following_url":"https://api.github.com/users/Yoplitein/following{/other_user}","gists_url":"https://api.github.com/users/Yoplitein/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoplitein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoplitein/subscriptions","organizations_url":"https://api.github.com/users/Yoplitein/orgs","repos_url":"https://api.github.com/users/Yoplitein/repos","events_url":"https://api.github.com/users/Yoplitein/events{/privacy}","received_events_url":"https://api.github.com/users/Yoplitein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T11:41:26Z","updated_at":"2015-10-15T14:24:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/d-gamedev-team/gfm/pulls/138","html_url":"https://github.com/d-gamedev-team/gfm/pull/138","diff_url":"https://github.com/d-gamedev-team/gfm/pull/138.diff","patch_url":"https://github.com/d-gamedev-team/gfm/pull/138.patch"},"body":"This is useful for doing [instanced rendering](https://www.opengl.org/wiki/Vertex_Rendering#Instancing)."},"comment":{"url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/comments/148401147","html_url":"https://github.com/d-gamedev-team/gfm/pull/138#issuecomment-148401147","issue_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/138","id":148401147,"user":{"login":"Yoplitein","id":4528762,"avatar_url":"https://avatars.githubusercontent.com/u/4528762?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoplitein","html_url":"https://github.com/Yoplitein","followers_url":"https://api.github.com/users/Yoplitein/followers","following_url":"https://api.github.com/users/Yoplitein/following{/other_user}","gists_url":"https://api.github.com/users/Yoplitein/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoplitein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoplitein/subscriptions","organizations_url":"https://api.github.com/users/Yoplitein/orgs","repos_url":"https://api.github.com/users/Yoplitein/repos","events_url":"https://api.github.com/users/Yoplitein/events{/privacy}","received_events_url":"https://api.github.com/users/Yoplitein/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T14:24:48Z","updated_at":"2015-10-15T14:24:48Z","body":"> Checking for the null-ness of the function pointer is not what we wan't there, on OpenGL 3.0 without the function, it should crash if some non-zero divisor is asked\r\n\r\nSo, check against `getMajorVersion` and `getMinorVersion`? Or would `supportsExtension` be more appropriate?\r\n\r\n> This allows to use the same VertexSpecification with 2 different divisors successively (don't know if it's useful but I'd rather not introduce this limitation). Do you agree?\r\n\r\nI can't think of any use cases myself, but that might just mean I'm terribly unimaginative. Sounds like a good idea."}}