{"action":"opened","number":793,"pull_request":{"url":"https://api.github.com/repos/bkaradzic/bgfx/pulls/793","id":70747267,"html_url":"https://github.com/bkaradzic/bgfx/pull/793","diff_url":"https://github.com/bkaradzic/bgfx/pull/793.diff","patch_url":"https://github.com/bkaradzic/bgfx/pull/793.patch","issue_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/793","number":793,"state":"open","locked":false,"title":"Fix a bug where the depth buffer is not written to in the OpenGL renderer","user":{"login":"pendingchaos","id":5159806,"avatar_url":"https://avatars.githubusercontent.com/u/5159806?v=3","gravatar_id":"","url":"https://api.github.com/users/pendingchaos","html_url":"https://github.com/pendingchaos","followers_url":"https://api.github.com/users/pendingchaos/followers","following_url":"https://api.github.com/users/pendingchaos/following{/other_user}","gists_url":"https://api.github.com/users/pendingchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/pendingchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pendingchaos/subscriptions","organizations_url":"https://api.github.com/users/pendingchaos/orgs","repos_url":"https://api.github.com/users/pendingchaos/repos","events_url":"https://api.github.com/users/pendingchaos/events{/privacy}","received_events_url":"https://api.github.com/users/pendingchaos/received_events","type":"User","site_admin":false},"body":"`glDisable(GL_DEPTH_TEST)` disables not just depth testing but depth writing too. In the OpenGL renderer, it is called even when depth writing is enabled. This commit makes it fall back to `glEnable(GL_DEPTH_TEST)` and `glDepthFunc(GL_ALWAYS)` when it is enabled.","created_at":"2016-05-19T19:01:07Z","updated_at":"2016-05-19T19:01:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bkaradzic/bgfx/pulls/793/commits","review_comments_url":"https://api.github.com/repos/bkaradzic/bgfx/pulls/793/comments","review_comment_url":"https://api.github.com/repos/bkaradzic/bgfx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/793/comments","statuses_url":"https://api.github.com/repos/bkaradzic/bgfx/statuses/b7012f9a3c63c5030b043d86d73c1b34d31566c3","head":{"label":"pendingchaos:patch-1","ref":"patch-1","sha":"b7012f9a3c63c5030b043d86d73c1b34d31566c3","user":{"login":"pendingchaos","id":5159806,"avatar_url":"https://avatars.githubusercontent.com/u/5159806?v=3","gravatar_id":"","url":"https://api.github.com/users/pendingchaos","html_url":"https://github.com/pendingchaos","followers_url":"https://api.github.com/users/pendingchaos/followers","following_url":"https://api.github.com/users/pendingchaos/following{/other_user}","gists_url":"https://api.github.com/users/pendingchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/pendingchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pendingchaos/subscriptions","organizations_url":"https://api.github.com/users/pendingchaos/orgs","repos_url":"https://api.github.com/users/pendingchaos/repos","events_url":"https://api.github.com/users/pendingchaos/events{/privacy}","received_events_url":"https://api.github.com/users/pendingchaos/received_events","type":"User","site_admin":false},"repo":{"id":59233007,"name":"bgfx","full_name":"pendingchaos/bgfx","owner":{"login":"pendingchaos","id":5159806,"avatar_url":"https://avatars.githubusercontent.com/u/5159806?v=3","gravatar_id":"","url":"https://api.github.com/users/pendingchaos","html_url":"https://github.com/pendingchaos","followers_url":"https://api.github.com/users/pendingchaos/followers","following_url":"https://api.github.com/users/pendingchaos/following{/other_user}","gists_url":"https://api.github.com/users/pendingchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/pendingchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pendingchaos/subscriptions","organizations_url":"https://api.github.com/users/pendingchaos/orgs","repos_url":"https://api.github.com/users/pendingchaos/repos","events_url":"https://api.github.com/users/pendingchaos/events{/privacy}","received_events_url":"https://api.github.com/users/pendingchaos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pendingchaos/bgfx","description":"Cross-platform, graphics API agnostic, \"Bring Your Own Engine/Framework\" style rendering library.","fork":true,"url":"https://api.github.com/repos/pendingchaos/bgfx","forks_url":"https://api.github.com/repos/pendingchaos/bgfx/forks","keys_url":"https://api.github.com/repos/pendingchaos/bgfx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pendingchaos/bgfx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pendingchaos/bgfx/teams","hooks_url":"https://api.github.com/repos/pendingchaos/bgfx/hooks","issue_events_url":"https://api.github.com/repos/pendingchaos/bgfx/issues/events{/number}","events_url":"https://api.github.com/repos/pendingchaos/bgfx/events","assignees_url":"https://api.github.com/repos/pendingchaos/bgfx/assignees{/user}","branches_url":"https://api.github.com/repos/pendingchaos/bgfx/branches{/branch}","tags_url":"https://api.github.com/repos/pendingchaos/bgfx/tags","blobs_url":"https://api.github.com/repos/pendingchaos/bgfx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pendingchaos/bgfx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pendingchaos/bgfx/git/refs{/sha}","trees_url":"https://api.github.com/repos/pendingchaos/bgfx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pendingchaos/bgfx/statuses/{sha}","languages_url":"https://api.github.com/repos/pendingchaos/bgfx/languages","stargazers_url":"https://api.github.com/repos/pendingchaos/bgfx/stargazers","contributors_url":"https://api.github.com/repos/pendingchaos/bgfx/contributors","subscribers_url":"https://api.github.com/repos/pendingchaos/bgfx/subscribers","subscription_url":"https://api.github.com/repos/pendingchaos/bgfx/subscription","commits_url":"https://api.github.com/repos/pendingchaos/bgfx/commits{/sha}","git_commits_url":"https://api.github.com/repos/pendingchaos/bgfx/git/commits{/sha}","comments_url":"https://api.github.com/repos/pendingchaos/bgfx/comments{/number}","issue_comment_url":"https://api.github.com/repos/pendingchaos/bgfx/issues/comments{/number}","contents_url":"https://api.github.com/repos/pendingchaos/bgfx/contents/{+path}","compare_url":"https://api.github.com/repos/pendingchaos/bgfx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pendingchaos/bgfx/merges","archive_url":"https://api.github.com/repos/pendingchaos/bgfx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pendingchaos/bgfx/downloads","issues_url":"https://api.github.com/repos/pendingchaos/bgfx/issues{/number}","pulls_url":"https://api.github.com/repos/pendingchaos/bgfx/pulls{/number}","milestones_url":"https://api.github.com/repos/pendingchaos/bgfx/milestones{/number}","notifications_url":"https://api.github.com/repos/pendingchaos/bgfx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pendingchaos/bgfx/labels{/name}","releases_url":"https://api.github.com/repos/pendingchaos/bgfx/releases{/id}","deployments_url":"https://api.github.com/repos/pendingchaos/bgfx/deployments","created_at":"2016-05-19T18:47:20Z","updated_at":"2016-05-19T18:47:23Z","pushed_at":"2016-05-19T18:54:32Z","git_url":"git://github.com/pendingchaos/bgfx.git","ssh_url":"git@github.com:pendingchaos/bgfx.git","clone_url":"https://github.com/pendingchaos/bgfx.git","svn_url":"https://github.com/pendingchaos/bgfx","homepage":"","size":91374,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"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":"bkaradzic:master","ref":"master","sha":"c86b996eb3d919cab7eb69be23d330a420b67578","user":{"login":"bkaradzic","id":814772,"avatar_url":"https://avatars.githubusercontent.com/u/814772?v=3","gravatar_id":"","url":"https://api.github.com/users/bkaradzic","html_url":"https://github.com/bkaradzic","followers_url":"https://api.github.com/users/bkaradzic/followers","following_url":"https://api.github.com/users/bkaradzic/following{/other_user}","gists_url":"https://api.github.com/users/bkaradzic/gists{/gist_id}","starred_url":"https://api.github.com/users/bkaradzic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkaradzic/subscriptions","organizations_url":"https://api.github.com/users/bkaradzic/orgs","repos_url":"https://api.github.com/users/bkaradzic/repos","events_url":"https://api.github.com/users/bkaradzic/events{/privacy}","received_events_url":"https://api.github.com/users/bkaradzic/received_events","type":"User","site_admin":false},"repo":{"id":3925242,"name":"bgfx","full_name":"bkaradzic/bgfx","owner":{"login":"bkaradzic","id":814772,"avatar_url":"https://avatars.githubusercontent.com/u/814772?v=3","gravatar_id":"","url":"https://api.github.com/users/bkaradzic","html_url":"https://github.com/bkaradzic","followers_url":"https://api.github.com/users/bkaradzic/followers","following_url":"https://api.github.com/users/bkaradzic/following{/other_user}","gists_url":"https://api.github.com/users/bkaradzic/gists{/gist_id}","starred_url":"https://api.github.com/users/bkaradzic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkaradzic/subscriptions","organizations_url":"https://api.github.com/users/bkaradzic/orgs","repos_url":"https://api.github.com/users/bkaradzic/repos","events_url":"https://api.github.com/users/bkaradzic/events{/privacy}","received_events_url":"https://api.github.com/users/bkaradzic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bkaradzic/bgfx","description":"Cross-platform, graphics API agnostic, \"Bring Your Own Engine/Framework\" style rendering library.","fork":false,"url":"https://api.github.com/repos/bkaradzic/bgfx","forks_url":"https://api.github.com/repos/bkaradzic/bgfx/forks","keys_url":"https://api.github.com/repos/bkaradzic/bgfx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bkaradzic/bgfx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bkaradzic/bgfx/teams","hooks_url":"https://api.github.com/repos/bkaradzic/bgfx/hooks","issue_events_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/events{/number}","events_url":"https://api.github.com/repos/bkaradzic/bgfx/events","assignees_url":"https://api.github.com/repos/bkaradzic/bgfx/assignees{/user}","branches_url":"https://api.github.com/repos/bkaradzic/bgfx/branches{/branch}","tags_url":"https://api.github.com/repos/bkaradzic/bgfx/tags","blobs_url":"https://api.github.com/repos/bkaradzic/bgfx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bkaradzic/bgfx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bkaradzic/bgfx/git/refs{/sha}","trees_url":"https://api.github.com/repos/bkaradzic/bgfx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bkaradzic/bgfx/statuses/{sha}","languages_url":"https://api.github.com/repos/bkaradzic/bgfx/languages","stargazers_url":"https://api.github.com/repos/bkaradzic/bgfx/stargazers","contributors_url":"https://api.github.com/repos/bkaradzic/bgfx/contributors","subscribers_url":"https://api.github.com/repos/bkaradzic/bgfx/subscribers","subscription_url":"https://api.github.com/repos/bkaradzic/bgfx/subscription","commits_url":"https://api.github.com/repos/bkaradzic/bgfx/commits{/sha}","git_commits_url":"https://api.github.com/repos/bkaradzic/bgfx/git/commits{/sha}","comments_url":"https://api.github.com/repos/bkaradzic/bgfx/comments{/number}","issue_comment_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/comments{/number}","contents_url":"https://api.github.com/repos/bkaradzic/bgfx/contents/{+path}","compare_url":"https://api.github.com/repos/bkaradzic/bgfx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bkaradzic/bgfx/merges","archive_url":"https://api.github.com/repos/bkaradzic/bgfx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bkaradzic/bgfx/downloads","issues_url":"https://api.github.com/repos/bkaradzic/bgfx/issues{/number}","pulls_url":"https://api.github.com/repos/bkaradzic/bgfx/pulls{/number}","milestones_url":"https://api.github.com/repos/bkaradzic/bgfx/milestones{/number}","notifications_url":"https://api.github.com/repos/bkaradzic/bgfx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bkaradzic/bgfx/labels{/name}","releases_url":"https://api.github.com/repos/bkaradzic/bgfx/releases{/id}","deployments_url":"https://api.github.com/repos/bkaradzic/bgfx/deployments","created_at":"2012-04-04T03:39:04Z","updated_at":"2016-05-19T12:24:04Z","pushed_at":"2016-05-18T16:10:14Z","git_url":"git://github.com/bkaradzic/bgfx.git","ssh_url":"git@github.com:bkaradzic/bgfx.git","clone_url":"https://github.com/bkaradzic/bgfx.git","svn_url":"https://github.com/bkaradzic/bgfx","homepage":"","size":94303,"stargazers_count":1926,"watchers_count":1926,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":329,"mirror_url":null,"open_issues_count":64,"forks":329,"open_issues":64,"watchers":1926,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bkaradzic/bgfx/pulls/793"},"html":{"href":"https://github.com/bkaradzic/bgfx/pull/793"},"issue":{"href":"https://api.github.com/repos/bkaradzic/bgfx/issues/793"},"comments":{"href":"https://api.github.com/repos/bkaradzic/bgfx/issues/793/comments"},"review_comments":{"href":"https://api.github.com/repos/bkaradzic/bgfx/pulls/793/comments"},"review_comment":{"href":"https://api.github.com/repos/bkaradzic/bgfx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bkaradzic/bgfx/pulls/793/commits"},"statuses":{"href":"https://api.github.com/repos/bkaradzic/bgfx/statuses/b7012f9a3c63c5030b043d86d73c1b34d31566c3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":1,"changed_files":1}}