{"action":"created","comment":{"url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/comments/37587548","id":37587548,"diff_hunk":"@@ -210,20 +210,20 @@ class Graphics\n         sHeight = height;\r\n     }\r\n     \r\n-\tstatic inline int getWidth() { return sWidth; }\r\n-\tstatic inline int getHeight() { return sHeight; }\r\n-\tstatic inline uint32_t getFlags() { return sFlags; }\r\n-\tstatic inline void setFlags(uint32_t flags) { sFlags = flags; }\r\n-\tstatic bool getStencilRequired();\r\n-\tstatic inline float* getMVP() {\r\n+    static inline int getWidth() { return sWidth; }\r\n+    static inline int getHeight() { return sHeight; }\r\n+    static inline uint32_t getFlags() { return sFlags; }\r\n+    static inline void setFlags(uint32_t flags) { sFlags = flags; }\r\n+    static bool getStencilRequired();\r\n+    static inline float* getMVP() {\r\n #if GFX_OPENGL_CHECK\r\n-\t\tif (sCurrentModelViewProjection == NULL) {\r\n-\t\t\tlmLogError(gGFXLogGroup, \"Transformation matrix is NULL, did you call Graphics::reset?\");\r\n-\t\t\tGFX_DEBUG_BREAK\r\n-\t\t}\r\n+        if (sCurrentModelViewProjection == NULL) {\r","path":"loom/graphics/gfxGraphics.h","position":39,"original_position":39,"commit_id":"f6593a2aa1c94cd9118240c300b8c72ebd99d370","original_commit_id":"f6593a2aa1c94cd9118240c300b8c72ebd99d370","user":{"login":"bengarney","id":132844,"avatar_url":"https://avatars.githubusercontent.com/u/132844?v=3","gravatar_id":"","url":"https://api.github.com/users/bengarney","html_url":"https://github.com/bengarney","followers_url":"https://api.github.com/users/bengarney/followers","following_url":"https://api.github.com/users/bengarney/following{/other_user}","gists_url":"https://api.github.com/users/bengarney/gists{/gist_id}","starred_url":"https://api.github.com/users/bengarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengarney/subscriptions","organizations_url":"https://api.github.com/users/bengarney/orgs","repos_url":"https://api.github.com/users/bengarney/repos","events_url":"https://api.github.com/users/bengarney/events{/privacy}","received_events_url":"https://api.github.com/users/bengarney/received_events","type":"User","site_admin":false},"body":"Good - change to match surroundings.","created_at":"2015-08-20T22:16:32Z","updated_at":"2015-08-20T22:16:32Z","html_url":"https://github.com/LoomSDK/LoomSDK/pull/375#discussion_r37587548","pull_request_url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375","_links":{"self":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/comments/37587548"},"html":{"href":"https://github.com/LoomSDK/LoomSDK/pull/375#discussion_r37587548"},"pull_request":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375"}}},"pull_request":{"url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375","id":42984182,"html_url":"https://github.com/LoomSDK/LoomSDK/pull/375","diff_url":"https://github.com/LoomSDK/LoomSDK/pull/375.diff","patch_url":"https://github.com/LoomSDK/LoomSDK/pull/375.patch","issue_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/375","number":375,"state":"open","locked":false,"title":"Shader objects implementation and example","user":{"login":"themuflon","id":7510153,"avatar_url":"https://avatars.githubusercontent.com/u/7510153?v=3","gravatar_id":"","url":"https://api.github.com/users/themuflon","html_url":"https://github.com/themuflon","followers_url":"https://api.github.com/users/themuflon/followers","following_url":"https://api.github.com/users/themuflon/following{/other_user}","gists_url":"https://api.github.com/users/themuflon/gists{/gist_id}","starred_url":"https://api.github.com/users/themuflon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themuflon/subscriptions","organizations_url":"https://api.github.com/users/themuflon/orgs","repos_url":"https://api.github.com/users/themuflon/repos","events_url":"https://api.github.com/users/themuflon/events{/privacy}","received_events_url":"https://api.github.com/users/themuflon/received_events","type":"User","site_admin":false},"body":"Acutal manual-type-documentation missing, will add later. :)","created_at":"2015-08-20T22:06:32Z","updated_at":"2015-08-20T22:16:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b56c8435c40e474185e47de323f20a40a4e7c912","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375/commits","review_comments_url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375/comments","review_comment_url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/375/comments","statuses_url":"https://api.github.com/repos/LoomSDK/LoomSDK/statuses/f6593a2aa1c94cd9118240c300b8c72ebd99d370","head":{"label":"LoomSDK:JG-ShaderObjects","ref":"JG-ShaderObjects","sha":"f6593a2aa1c94cd9118240c300b8c72ebd99d370","user":{"login":"LoomSDK","id":5264050,"avatar_url":"https://avatars.githubusercontent.com/u/5264050?v=3","gravatar_id":"","url":"https://api.github.com/users/LoomSDK","html_url":"https://github.com/LoomSDK","followers_url":"https://api.github.com/users/LoomSDK/followers","following_url":"https://api.github.com/users/LoomSDK/following{/other_user}","gists_url":"https://api.github.com/users/LoomSDK/gists{/gist_id}","starred_url":"https://api.github.com/users/LoomSDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoomSDK/subscriptions","organizations_url":"https://api.github.com/users/LoomSDK/orgs","repos_url":"https://api.github.com/users/LoomSDK/repos","events_url":"https://api.github.com/users/LoomSDK/events{/privacy}","received_events_url":"https://api.github.com/users/LoomSDK/received_events","type":"Organization","site_admin":false},"repo":{"id":12335264,"name":"LoomSDK","full_name":"LoomSDK/LoomSDK","owner":{"login":"LoomSDK","id":5264050,"avatar_url":"https://avatars.githubusercontent.com/u/5264050?v=3","gravatar_id":"","url":"https://api.github.com/users/LoomSDK","html_url":"https://github.com/LoomSDK","followers_url":"https://api.github.com/users/LoomSDK/followers","following_url":"https://api.github.com/users/LoomSDK/following{/other_user}","gists_url":"https://api.github.com/users/LoomSDK/gists{/gist_id}","starred_url":"https://api.github.com/users/LoomSDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoomSDK/subscriptions","organizations_url":"https://api.github.com/users/LoomSDK/orgs","repos_url":"https://api.github.com/users/LoomSDK/repos","events_url":"https://api.github.com/users/LoomSDK/events{/privacy}","received_events_url":"https://api.github.com/users/LoomSDK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LoomSDK/LoomSDK","description":"The Loom SDK, a native mobile app and game framework.","fork":false,"url":"https://api.github.com/repos/LoomSDK/LoomSDK","forks_url":"https://api.github.com/repos/LoomSDK/LoomSDK/forks","keys_url":"https://api.github.com/repos/LoomSDK/LoomSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LoomSDK/LoomSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LoomSDK/LoomSDK/teams","hooks_url":"https://api.github.com/repos/LoomSDK/LoomSDK/hooks","issue_events_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/events{/number}","events_url":"https://api.github.com/repos/LoomSDK/LoomSDK/events","assignees_url":"https://api.github.com/repos/LoomSDK/LoomSDK/assignees{/user}","branches_url":"https://api.github.com/repos/LoomSDK/LoomSDK/branches{/branch}","tags_url":"https://api.github.com/repos/LoomSDK/LoomSDK/tags","blobs_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LoomSDK/LoomSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/LoomSDK/LoomSDK/languages","stargazers_url":"https://api.github.com/repos/LoomSDK/LoomSDK/stargazers","contributors_url":"https://api.github.com/repos/LoomSDK/LoomSDK/contributors","subscribers_url":"https://api.github.com/repos/LoomSDK/LoomSDK/subscribers","subscription_url":"https://api.github.com/repos/LoomSDK/LoomSDK/subscription","commits_url":"https://api.github.com/repos/LoomSDK/LoomSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/LoomSDK/LoomSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/LoomSDK/LoomSDK/contents/{+path}","compare_url":"https://api.github.com/repos/LoomSDK/LoomSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LoomSDK/LoomSDK/merges","archive_url":"https://api.github.com/repos/LoomSDK/LoomSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LoomSDK/LoomSDK/downloads","issues_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues{/number}","pulls_url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/LoomSDK/LoomSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/LoomSDK/LoomSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LoomSDK/LoomSDK/labels{/name}","releases_url":"https://api.github.com/repos/LoomSDK/LoomSDK/releases{/id}","created_at":"2013-08-24T00:09:22Z","updated_at":"2015-08-20T12:51:30Z","pushed_at":"2015-08-20T22:06:33Z","git_url":"git://github.com/LoomSDK/LoomSDK.git","ssh_url":"git@github.com:LoomSDK/LoomSDK.git","clone_url":"https://github.com/LoomSDK/LoomSDK.git","svn_url":"https://github.com/LoomSDK/LoomSDK","homepage":"http://www.LoomSDK.com","size":323217,"stargazers_count":175,"watchers_count":175,"language":"LoomScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":7,"forks":53,"open_issues":7,"watchers":175,"default_branch":"master"}},"base":{"label":"LoomSDK:master","ref":"master","sha":"8fd232edba2e81e94df9c897f35b2c92beaa6e30","user":{"login":"LoomSDK","id":5264050,"avatar_url":"https://avatars.githubusercontent.com/u/5264050?v=3","gravatar_id":"","url":"https://api.github.com/users/LoomSDK","html_url":"https://github.com/LoomSDK","followers_url":"https://api.github.com/users/LoomSDK/followers","following_url":"https://api.github.com/users/LoomSDK/following{/other_user}","gists_url":"https://api.github.com/users/LoomSDK/gists{/gist_id}","starred_url":"https://api.github.com/users/LoomSDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoomSDK/subscriptions","organizations_url":"https://api.github.com/users/LoomSDK/orgs","repos_url":"https://api.github.com/users/LoomSDK/repos","events_url":"https://api.github.com/users/LoomSDK/events{/privacy}","received_events_url":"https://api.github.com/users/LoomSDK/received_events","type":"Organization","site_admin":false},"repo":{"id":12335264,"name":"LoomSDK","full_name":"LoomSDK/LoomSDK","owner":{"login":"LoomSDK","id":5264050,"avatar_url":"https://avatars.githubusercontent.com/u/5264050?v=3","gravatar_id":"","url":"https://api.github.com/users/LoomSDK","html_url":"https://github.com/LoomSDK","followers_url":"https://api.github.com/users/LoomSDK/followers","following_url":"https://api.github.com/users/LoomSDK/following{/other_user}","gists_url":"https://api.github.com/users/LoomSDK/gists{/gist_id}","starred_url":"https://api.github.com/users/LoomSDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoomSDK/subscriptions","organizations_url":"https://api.github.com/users/LoomSDK/orgs","repos_url":"https://api.github.com/users/LoomSDK/repos","events_url":"https://api.github.com/users/LoomSDK/events{/privacy}","received_events_url":"https://api.github.com/users/LoomSDK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LoomSDK/LoomSDK","description":"The Loom SDK, a native mobile app and game framework.","fork":false,"url":"https://api.github.com/repos/LoomSDK/LoomSDK","forks_url":"https://api.github.com/repos/LoomSDK/LoomSDK/forks","keys_url":"https://api.github.com/repos/LoomSDK/LoomSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LoomSDK/LoomSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LoomSDK/LoomSDK/teams","hooks_url":"https://api.github.com/repos/LoomSDK/LoomSDK/hooks","issue_events_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/events{/number}","events_url":"https://api.github.com/repos/LoomSDK/LoomSDK/events","assignees_url":"https://api.github.com/repos/LoomSDK/LoomSDK/assignees{/user}","branches_url":"https://api.github.com/repos/LoomSDK/LoomSDK/branches{/branch}","tags_url":"https://api.github.com/repos/LoomSDK/LoomSDK/tags","blobs_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LoomSDK/LoomSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/LoomSDK/LoomSDK/languages","stargazers_url":"https://api.github.com/repos/LoomSDK/LoomSDK/stargazers","contributors_url":"https://api.github.com/repos/LoomSDK/LoomSDK/contributors","subscribers_url":"https://api.github.com/repos/LoomSDK/LoomSDK/subscribers","subscription_url":"https://api.github.com/repos/LoomSDK/LoomSDK/subscription","commits_url":"https://api.github.com/repos/LoomSDK/LoomSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/LoomSDK/LoomSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/LoomSDK/LoomSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/LoomSDK/LoomSDK/contents/{+path}","compare_url":"https://api.github.com/repos/LoomSDK/LoomSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LoomSDK/LoomSDK/merges","archive_url":"https://api.github.com/repos/LoomSDK/LoomSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LoomSDK/LoomSDK/downloads","issues_url":"https://api.github.com/repos/LoomSDK/LoomSDK/issues{/number}","pulls_url":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/LoomSDK/LoomSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/LoomSDK/LoomSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LoomSDK/LoomSDK/labels{/name}","releases_url":"https://api.github.com/repos/LoomSDK/LoomSDK/releases{/id}","created_at":"2013-08-24T00:09:22Z","updated_at":"2015-08-20T12:51:30Z","pushed_at":"2015-08-20T22:06:33Z","git_url":"git://github.com/LoomSDK/LoomSDK.git","ssh_url":"git@github.com:LoomSDK/LoomSDK.git","clone_url":"https://github.com/LoomSDK/LoomSDK.git","svn_url":"https://github.com/LoomSDK/LoomSDK","homepage":"http://www.LoomSDK.com","size":323217,"stargazers_count":175,"watchers_count":175,"language":"LoomScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":7,"forks":53,"open_issues":7,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375"},"html":{"href":"https://github.com/LoomSDK/LoomSDK/pull/375"},"issue":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/375"},"comments":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/issues/375/comments"},"review_comments":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375/comments"},"review_comment":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/pulls/375/commits"},"statuses":{"href":"https://api.github.com/repos/LoomSDK/LoomSDK/statuses/f6593a2aa1c94cd9118240c300b8c72ebd99d370"}}}}