{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-shaders/issues/2","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-shaders","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-shaders/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-shaders/issues/2/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-shaders/issues/2/events","html_url":"https://github.com/mapbox/mapbox-gl-shaders/issues/2","id":156632894,"number":2,"title":"Put common preamble in \"util.glsl\"","user":{"login":"lucaswoj","id":281306,"avatar_url":"https://avatars.githubusercontent.com/u/281306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswoj","html_url":"https://github.com/lucaswoj","followers_url":"https://api.github.com/users/lucaswoj/followers","following_url":"https://api.github.com/users/lucaswoj/following{/other_user}","gists_url":"https://api.github.com/users/lucaswoj/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswoj/subscriptions","organizations_url":"https://api.github.com/users/lucaswoj/orgs","repos_url":"https://api.github.com/users/lucaswoj/repos","events_url":"https://api.github.com/users/lucaswoj/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswoj/received_events","type":"User","site_admin":false},"labels":[{"id":379974594,"url":"https://api.github.com/repos/mapbox/mapbox-gl-shaders/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-05-24T23:36:55Z","updated_at":"2016-11-08T22:38:06Z","closed_at":"2016-11-08T22:38:06Z","body":"This preamble is in every shader. We can simplify our code by moving it to `util.glsl`, which is included in every other shader. \n\n``` glsl\n#ifdef GL_ES\nprecision mediump float;\n#else\n#define lowp\n#define mediump\n#define highp\n#endif\n```\n\nref https://github.com/mapbox/mapbox-gl-shaders/commit/93e3a7b62ee252b7843515c01d16af7958d39580#commitcomment-17604999\n"}}
{"actor":{"display_login":"mourner"}}