{"action":"created","issue":{"url":"https://api.github.com/repos/Kingdread/Rurtle/issues/4","repository_url":"https://api.github.com/repos/Kingdread/Rurtle","labels_url":"https://api.github.com/repos/Kingdread/Rurtle/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Kingdread/Rurtle/issues/4/comments","events_url":"https://api.github.com/repos/Kingdread/Rurtle/issues/4/events","html_url":"https://github.com/Kingdread/Rurtle/pull/4","id":144031683,"number":4,"title":"Use Legacy (2.1) OpenGL Version on Mac","user":{"login":"ligthyear","id":40496,"avatar_url":"https://avatars.githubusercontent.com/u/40496?v=3","gravatar_id":"","url":"https://api.github.com/users/ligthyear","html_url":"https://github.com/ligthyear","followers_url":"https://api.github.com/users/ligthyear/followers","following_url":"https://api.github.com/users/ligthyear/following{/other_user}","gists_url":"https://api.github.com/users/ligthyear/gists{/gist_id}","starred_url":"https://api.github.com/users/ligthyear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligthyear/subscriptions","organizations_url":"https://api.github.com/users/ligthyear/orgs","repos_url":"https://api.github.com/users/ligthyear/repos","events_url":"https://api.github.com/users/ligthyear/events{/privacy}","received_events_url":"https://api.github.com/users/ligthyear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-28T17:25:09Z","updated_at":"2016-03-28T20:36:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Kingdread/Rurtle/pulls/4","html_url":"https://github.com/Kingdread/Rurtle/pull/4","diff_url":"https://github.com/Kingdread/Rurtle/pull/4.diff","patch_url":"https://github.com/Kingdread/Rurtle/pull/4.patch"},"body":"This fixes #3 .\n\nIt appears that though [Mac supports OpenGL](https://developer.apple.com/opengl/capabilities/index.html) up to version 4.1, it doesn't always offer compatibility support for older version. Specifically the default context chosen on a recent mac (4.1 or 3.3) would not support the shaders we are using (`#version 120`). This PR ensure that our window is starting with the legacy supporting version (2.1) of OpenGL on Mac."},"comment":{"url":"https://api.github.com/repos/Kingdread/Rurtle/issues/comments/202571543","html_url":"https://github.com/Kingdread/Rurtle/pull/4#issuecomment-202571543","issue_url":"https://api.github.com/repos/Kingdread/Rurtle/issues/4","id":202571543,"user":{"login":"Kingdread","id":739796,"avatar_url":"https://avatars.githubusercontent.com/u/739796?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingdread","html_url":"https://github.com/Kingdread","followers_url":"https://api.github.com/users/Kingdread/followers","following_url":"https://api.github.com/users/Kingdread/following{/other_user}","gists_url":"https://api.github.com/users/Kingdread/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingdread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingdread/subscriptions","organizations_url":"https://api.github.com/users/Kingdread/orgs","repos_url":"https://api.github.com/users/Kingdread/repos","events_url":"https://api.github.com/users/Kingdread/events{/privacy}","received_events_url":"https://api.github.com/users/Kingdread/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T20:36:23Z","updated_at":"2016-03-28T20:36:23Z","body":"Thank you for your contribution!\r\n\r\nUnfortunately, I do not own a Mac and can't test this personally, but the code looks fine, so I'm merging it anyway."}}