{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/Tomius/oglwrap/pulls/7","id":130367294,"html_url":"https://github.com/Tomius/oglwrap/pull/7","diff_url":"https://github.com/Tomius/oglwrap/pull/7.diff","patch_url":"https://github.com/Tomius/oglwrap/pull/7.patch","issue_url":"https://api.github.com/repos/Tomius/oglwrap/issues/7","number":7,"state":"closed","locked":false,"title":"Added TemporaryBind, MakeTemporaryBind","user":{"login":"RyperHUN","id":11822606,"avatar_url":"https://avatars1.githubusercontent.com/u/11822606?v=3","gravatar_id":"","url":"https://api.github.com/users/RyperHUN","html_url":"https://github.com/RyperHUN","followers_url":"https://api.github.com/users/RyperHUN/followers","following_url":"https://api.github.com/users/RyperHUN/following{/other_user}","gists_url":"https://api.github.com/users/RyperHUN/gists{/gist_id}","starred_url":"https://api.github.com/users/RyperHUN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyperHUN/subscriptions","organizations_url":"https://api.github.com/users/RyperHUN/orgs","repos_url":"https://api.github.com/users/RyperHUN/repos","events_url":"https://api.github.com/users/RyperHUN/events{/privacy}","received_events_url":"https://api.github.com/users/RyperHUN/received_events","type":"User","site_admin":false},"body":"They work similiar to TemporaryEnable/Disable. They Bind the value in the constructor, and unbind them in the destructor. \r\n\r\nMakeTemporaryBind makes it easier to use the functionality, you don't have to provide template arguments:\r\n`auto bindVBO = gl::MakeTemporaryBind (VBO);`\r\nusing only TemporaryBind:\r\n`gl::TemporaryBind<gl::ArrayBuffer> bindVBO(VBO);`\r\n\r\nAlso in the future the ability to restore the previous state can be added.","created_at":"2017-07-13T13:14:31Z","updated_at":"2017-07-13T13:16:51Z","closed_at":"2017-07-13T13:16:51Z","merged_at":"2017-07-13T13:16:51Z","merge_commit_sha":"3482c25cb2c4b88665fa0114e2b9a6ecc8313a81","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tomius/oglwrap/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Tomius/oglwrap/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Tomius/oglwrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tomius/oglwrap/issues/7/comments","statuses_url":"https://api.github.com/repos/Tomius/oglwrap/statuses/0c8bf68fcbaf25c931fed64d74d99705560a4611","head":{"label":"RyperHUN:master","ref":"master","sha":"0c8bf68fcbaf25c931fed64d74d99705560a4611","user":{"login":"RyperHUN","id":11822606,"avatar_url":"https://avatars1.githubusercontent.com/u/11822606?v=3","gravatar_id":"","url":"https://api.github.com/users/RyperHUN","html_url":"https://github.com/RyperHUN","followers_url":"https://api.github.com/users/RyperHUN/followers","following_url":"https://api.github.com/users/RyperHUN/following{/other_user}","gists_url":"https://api.github.com/users/RyperHUN/gists{/gist_id}","starred_url":"https://api.github.com/users/RyperHUN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyperHUN/subscriptions","organizations_url":"https://api.github.com/users/RyperHUN/orgs","repos_url":"https://api.github.com/users/RyperHUN/repos","events_url":"https://api.github.com/users/RyperHUN/events{/privacy}","received_events_url":"https://api.github.com/users/RyperHUN/received_events","type":"User","site_admin":false},"repo":{"id":97123446,"name":"oglwrap","full_name":"RyperHUN/oglwrap","owner":{"login":"RyperHUN","id":11822606,"avatar_url":"https://avatars1.githubusercontent.com/u/11822606?v=3","gravatar_id":"","url":"https://api.github.com/users/RyperHUN","html_url":"https://github.com/RyperHUN","followers_url":"https://api.github.com/users/RyperHUN/followers","following_url":"https://api.github.com/users/RyperHUN/following{/other_user}","gists_url":"https://api.github.com/users/RyperHUN/gists{/gist_id}","starred_url":"https://api.github.com/users/RyperHUN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyperHUN/subscriptions","organizations_url":"https://api.github.com/users/RyperHUN/orgs","repos_url":"https://api.github.com/users/RyperHUN/repos","events_url":"https://api.github.com/users/RyperHUN/events{/privacy}","received_events_url":"https://api.github.com/users/RyperHUN/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RyperHUN/oglwrap","description":"Lightweight OpenGL C++ wrapper.","fork":true,"url":"https://api.github.com/repos/RyperHUN/oglwrap","forks_url":"https://api.github.com/repos/RyperHUN/oglwrap/forks","keys_url":"https://api.github.com/repos/RyperHUN/oglwrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RyperHUN/oglwrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RyperHUN/oglwrap/teams","hooks_url":"https://api.github.com/repos/RyperHUN/oglwrap/hooks","issue_events_url":"https://api.github.com/repos/RyperHUN/oglwrap/issues/events{/number}","events_url":"https://api.github.com/repos/RyperHUN/oglwrap/events","assignees_url":"https://api.github.com/repos/RyperHUN/oglwrap/assignees{/user}","branches_url":"https://api.github.com/repos/RyperHUN/oglwrap/branches{/branch}","tags_url":"https://api.github.com/repos/RyperHUN/oglwrap/tags","blobs_url":"https://api.github.com/repos/RyperHUN/oglwrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RyperHUN/oglwrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RyperHUN/oglwrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/RyperHUN/oglwrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RyperHUN/oglwrap/statuses/{sha}","languages_url":"https://api.github.com/repos/RyperHUN/oglwrap/languages","stargazers_url":"https://api.github.com/repos/RyperHUN/oglwrap/stargazers","contributors_url":"https://api.github.com/repos/RyperHUN/oglwrap/contributors","subscribers_url":"https://api.github.com/repos/RyperHUN/oglwrap/subscribers","subscription_url":"https://api.github.com/repos/RyperHUN/oglwrap/subscription","commits_url":"https://api.github.com/repos/RyperHUN/oglwrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/RyperHUN/oglwrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/RyperHUN/oglwrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/RyperHUN/oglwrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/RyperHUN/oglwrap/contents/{+path}","compare_url":"https://api.github.com/repos/RyperHUN/oglwrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RyperHUN/oglwrap/merges","archive_url":"https://api.github.com/repos/RyperHUN/oglwrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RyperHUN/oglwrap/downloads","issues_url":"https://api.github.com/repos/RyperHUN/oglwrap/issues{/number}","pulls_url":"https://api.github.com/repos/RyperHUN/oglwrap/pulls{/number}","milestones_url":"https://api.github.com/repos/RyperHUN/oglwrap/milestones{/number}","notifications_url":"https://api.github.com/repos/RyperHUN/oglwrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RyperHUN/oglwrap/labels{/name}","releases_url":"https://api.github.com/repos/RyperHUN/oglwrap/releases{/id}","deployments_url":"https://api.github.com/repos/RyperHUN/oglwrap/deployments","created_at":"2017-07-13T13:05:09Z","updated_at":"2017-07-13T13:05:11Z","pushed_at":"2017-07-13T13:07:06Z","git_url":"git://github.com/RyperHUN/oglwrap.git","ssh_url":"git@github.com:RyperHUN/oglwrap.git","clone_url":"https://github.com/RyperHUN/oglwrap.git","svn_url":"https://github.com/RyperHUN/oglwrap","homepage":"","size":1784,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Tomius:master","ref":"master","sha":"25ce85dd0abe31d6bb0576bfd7ed888ed6218832","user":{"login":"Tomius","id":4940255,"avatar_url":"https://avatars2.githubusercontent.com/u/4940255?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomius","html_url":"https://github.com/Tomius","followers_url":"https://api.github.com/users/Tomius/followers","following_url":"https://api.github.com/users/Tomius/following{/other_user}","gists_url":"https://api.github.com/users/Tomius/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomius/subscriptions","organizations_url":"https://api.github.com/users/Tomius/orgs","repos_url":"https://api.github.com/users/Tomius/repos","events_url":"https://api.github.com/users/Tomius/events{/privacy}","received_events_url":"https://api.github.com/users/Tomius/received_events","type":"User","site_admin":false},"repo":{"id":11927475,"name":"oglwrap","full_name":"Tomius/oglwrap","owner":{"login":"Tomius","id":4940255,"avatar_url":"https://avatars2.githubusercontent.com/u/4940255?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomius","html_url":"https://github.com/Tomius","followers_url":"https://api.github.com/users/Tomius/followers","following_url":"https://api.github.com/users/Tomius/following{/other_user}","gists_url":"https://api.github.com/users/Tomius/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomius/subscriptions","organizations_url":"https://api.github.com/users/Tomius/orgs","repos_url":"https://api.github.com/users/Tomius/repos","events_url":"https://api.github.com/users/Tomius/events{/privacy}","received_events_url":"https://api.github.com/users/Tomius/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tomius/oglwrap","description":"Lightweight OpenGL C++ wrapper.","fork":false,"url":"https://api.github.com/repos/Tomius/oglwrap","forks_url":"https://api.github.com/repos/Tomius/oglwrap/forks","keys_url":"https://api.github.com/repos/Tomius/oglwrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tomius/oglwrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tomius/oglwrap/teams","hooks_url":"https://api.github.com/repos/Tomius/oglwrap/hooks","issue_events_url":"https://api.github.com/repos/Tomius/oglwrap/issues/events{/number}","events_url":"https://api.github.com/repos/Tomius/oglwrap/events","assignees_url":"https://api.github.com/repos/Tomius/oglwrap/assignees{/user}","branches_url":"https://api.github.com/repos/Tomius/oglwrap/branches{/branch}","tags_url":"https://api.github.com/repos/Tomius/oglwrap/tags","blobs_url":"https://api.github.com/repos/Tomius/oglwrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tomius/oglwrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tomius/oglwrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tomius/oglwrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tomius/oglwrap/statuses/{sha}","languages_url":"https://api.github.com/repos/Tomius/oglwrap/languages","stargazers_url":"https://api.github.com/repos/Tomius/oglwrap/stargazers","contributors_url":"https://api.github.com/repos/Tomius/oglwrap/contributors","subscribers_url":"https://api.github.com/repos/Tomius/oglwrap/subscribers","subscription_url":"https://api.github.com/repos/Tomius/oglwrap/subscription","commits_url":"https://api.github.com/repos/Tomius/oglwrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tomius/oglwrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tomius/oglwrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tomius/oglwrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tomius/oglwrap/contents/{+path}","compare_url":"https://api.github.com/repos/Tomius/oglwrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tomius/oglwrap/merges","archive_url":"https://api.github.com/repos/Tomius/oglwrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tomius/oglwrap/downloads","issues_url":"https://api.github.com/repos/Tomius/oglwrap/issues{/number}","pulls_url":"https://api.github.com/repos/Tomius/oglwrap/pulls{/number}","milestones_url":"https://api.github.com/repos/Tomius/oglwrap/milestones{/number}","notifications_url":"https://api.github.com/repos/Tomius/oglwrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tomius/oglwrap/labels{/name}","releases_url":"https://api.github.com/repos/Tomius/oglwrap/releases{/id}","deployments_url":"https://api.github.com/repos/Tomius/oglwrap/deployments","created_at":"2013-08-06T15:27:13Z","updated_at":"2017-07-13T13:15:58Z","pushed_at":"2017-07-13T13:16:51Z","git_url":"git://github.com/Tomius/oglwrap.git","ssh_url":"git@github.com:Tomius/oglwrap.git","clone_url":"https://github.com/Tomius/oglwrap.git","svn_url":"https://github.com/Tomius/oglwrap","homepage":"","size":1784,"stargazers_count":20,"watchers_count":20,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tomius/oglwrap/pulls/7"},"html":{"href":"https://github.com/Tomius/oglwrap/pull/7"},"issue":{"href":"https://api.github.com/repos/Tomius/oglwrap/issues/7"},"comments":{"href":"https://api.github.com/repos/Tomius/oglwrap/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Tomius/oglwrap/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Tomius/oglwrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tomius/oglwrap/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Tomius/oglwrap/statuses/0c8bf68fcbaf25c931fed64d74d99705560a4611"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Tomius","id":4940255,"avatar_url":"https://avatars2.githubusercontent.com/u/4940255?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomius","html_url":"https://github.com/Tomius","followers_url":"https://api.github.com/users/Tomius/followers","following_url":"https://api.github.com/users/Tomius/following{/other_user}","gists_url":"https://api.github.com/users/Tomius/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomius/subscriptions","organizations_url":"https://api.github.com/users/Tomius/orgs","repos_url":"https://api.github.com/users/Tomius/repos","events_url":"https://api.github.com/users/Tomius/events{/privacy}","received_events_url":"https://api.github.com/users/Tomius/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":21,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Tomius"}}