{"action":"created","issue":{"url":"https://api.github.com/repos/servo/glutin/issues/43","labels_url":"https://api.github.com/repos/servo/glutin/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/servo/glutin/issues/43/comments","events_url":"https://api.github.com/repos/servo/glutin/issues/43/events","html_url":"https://github.com/servo/glutin/pull/43","id":99803231,"number":43,"title":"Glutin update","user":{"login":"paulrouget","id":373579,"avatar_url":"https://avatars.githubusercontent.com/u/373579?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrouget","html_url":"https://github.com/paulrouget","followers_url":"https://api.github.com/users/paulrouget/followers","following_url":"https://api.github.com/users/paulrouget/following{/other_user}","gists_url":"https://api.github.com/users/paulrouget/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrouget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrouget/subscriptions","organizations_url":"https://api.github.com/users/paulrouget/orgs","repos_url":"https://api.github.com/users/paulrouget/repos","events_url":"https://api.github.com/users/paulrouget/events{/privacy}","received_events_url":"https://api.github.com/users/paulrouget/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-08T13:41:04Z","updated_at":"2015-08-08T14:06:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/glutin/pulls/43","html_url":"https://github.com/servo/glutin/pull/43","diff_url":"https://github.com/servo/glutin/pull/43.diff","patch_url":"https://github.com/servo/glutin/pull/43.patch"},"body":"Work in progress.\r\n\r\nIt compiles but does't run properly yet:\r\n\r\n```\r\nthread '<main>' panicked at 'Failed to compile shader: ERROR: 0:1: '' :  #version required and missing.\r\nERROR: 0:8: 'varying' : syntax error: syntax error', /Users/paul/github/servo/.cargo/git/checkouts/rust-layers-c02709c0157e02cd/master/src/rendergl.rs:162\r\nstack backtrace:\r\n   1:        0x1043e1f75 - sys::backtrace::write::h2513b694e23623efOvs\r\n   2:        0x1043e55b0 - panicking::on_panic::h399650fb5f386215wWw\r\n   3:        0x1043d23b2 - rt::unwind::begin_unwind_inner::h208861166cac0468HEw\r\n   4:        0x1043d2a2c - rt::unwind::begin_unwind_fmt::h2b843ddd6c3f7d25NDw\r\n   5:        0x104115c55 - rendergl::ShaderProgram::compile_shader::h2283974900f5d0b5rEa\r\n   6:        0x104115a6c - rendergl::ShaderProgram::new::hc46f0332679e630cPCa\r\n   7:        0x1041161d6 - rendergl::TextureProgram::new::hac456555747979c61Ha\r\n   8:        0x1041163b4 - rendergl::RenderContext::new::h0fa152003178411faWa\r\n   9:        0x102db863c - compositor::IOCompositor<Window>.CompositorEventListener::handle_events::h14521642586449736063\r\n  10:        0x102ddf1f2 - Browser::handle_events::h16eb620fb06c71810ca\r\n  11:        0x102d9a0b3 - main::h56287c74df46b5aeraa\r\n  12:        0x1043e4eaf - __rust_try_inner\r\n  13:        0x1043e4eea - __rust_try\r\n  14:        0x1043e61fa - rt::lang_start::h62f9a1aa1fee3678sRw\r\nServo exited with return value 101\r\n```\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/servo/glutin/43)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/glutin/issues/comments/128985506","html_url":"https://github.com/servo/glutin/pull/43#issuecomment-128985506","issue_url":"https://api.github.com/repos/servo/glutin/issues/43","id":128985506,"user":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T14:06:35Z","updated_at":"2015-08-08T14:06:35Z","body":"I don't know how it compiles for you (travis also seems to agree that it shouldn't compile).\r\n\r\nYour error seems to indicate that `#version` is missing in one of the example codes. If this is the case, it's a mistake in the example.\r\n\r\nOne of the latest changes in glutin is that it uses EGL by default on Linux instead of GLX (it still uses OpenGL and not OpenGL ES, and falls back to GLX if EGL doesn't support OpenGL). It is possible that the context given by EGL is stricter when enforcing errors.\r\n"}}