{"action":"created","issue":{"url":"https://api.github.com/repos/Vladar4/sdl2_nim/issues/2","repository_url":"https://api.github.com/repos/Vladar4/sdl2_nim","labels_url":"https://api.github.com/repos/Vladar4/sdl2_nim/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Vladar4/sdl2_nim/issues/2/comments","events_url":"https://api.github.com/repos/Vladar4/sdl2_nim/issues/2/events","html_url":"https://github.com/Vladar4/sdl2_nim/issues/2","id":208698567,"number":2,"title":"Alpha channel not working","user":{"login":"rosshadden","id":669012,"avatar_url":"https://avatars.githubusercontent.com/u/669012?v=3","gravatar_id":"","url":"https://api.github.com/users/rosshadden","html_url":"https://github.com/rosshadden","followers_url":"https://api.github.com/users/rosshadden/followers","following_url":"https://api.github.com/users/rosshadden/following{/other_user}","gists_url":"https://api.github.com/users/rosshadden/gists{/gist_id}","starred_url":"https://api.github.com/users/rosshadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosshadden/subscriptions","organizations_url":"https://api.github.com/users/rosshadden/orgs","repos_url":"https://api.github.com/users/rosshadden/repos","events_url":"https://api.github.com/users/rosshadden/events{/privacy}","received_events_url":"https://api.github.com/users/rosshadden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Vladar4","id":1783492,"avatar_url":"https://avatars.githubusercontent.com/u/1783492?v=3","gravatar_id":"","url":"https://api.github.com/users/Vladar4","html_url":"https://github.com/Vladar4","followers_url":"https://api.github.com/users/Vladar4/followers","following_url":"https://api.github.com/users/Vladar4/following{/other_user}","gists_url":"https://api.github.com/users/Vladar4/gists{/gist_id}","starred_url":"https://api.github.com/users/Vladar4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vladar4/subscriptions","organizations_url":"https://api.github.com/users/Vladar4/orgs","repos_url":"https://api.github.com/users/Vladar4/repos","events_url":"https://api.github.com/users/Vladar4/events{/privacy}","received_events_url":"https://api.github.com/users/Vladar4/received_events","type":"User","site_admin":false},"assignees":[{"login":"Vladar4","id":1783492,"avatar_url":"https://avatars.githubusercontent.com/u/1783492?v=3","gravatar_id":"","url":"https://api.github.com/users/Vladar4","html_url":"https://github.com/Vladar4","followers_url":"https://api.github.com/users/Vladar4/followers","following_url":"https://api.github.com/users/Vladar4/following{/other_user}","gists_url":"https://api.github.com/users/Vladar4/gists{/gist_id}","starred_url":"https://api.github.com/users/Vladar4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vladar4/subscriptions","organizations_url":"https://api.github.com/users/Vladar4/orgs","repos_url":"https://api.github.com/users/Vladar4/repos","events_url":"https://api.github.com/users/Vladar4/events{/privacy}","received_events_url":"https://api.github.com/users/Vladar4/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-02-19T06:35:00Z","updated_at":"2017-02-19T08:53:06Z","closed_at":"2017-02-19T08:53:06Z","body":"Maybe it's just something I'm doing wrong, but I'm trying to draw two overlapping rectangles with alpha < 255.  I expect to see the first rectangle showing through the second one where they overlap, but instead it is as if alpha is always 255.\r\n\r\nExample:\r\n\r\n```nim\r\ndiscard renderer.setRenderDrawColor(Color(r: 0xff, g: 0x00, b: 0x00, a: 0x88))\r\ndiscard renderer.renderFillRect(rect1)\r\ndiscard renderer.setRenderDrawColor(Color(r: 0x00, g: 0xff, b: 0x00, a: 0x88))\r\ndiscard renderer.renderFillRect(rect2)\r\n```\r\n\r\nwhere `rect1` and `rect2` overlap.  I can give a fully complete working example if you need. This is just a general idea."},"comment":{"url":"https://api.github.com/repos/Vladar4/sdl2_nim/issues/comments/280905242","html_url":"https://github.com/Vladar4/sdl2_nim/issues/2#issuecomment-280905242","issue_url":"https://api.github.com/repos/Vladar4/sdl2_nim/issues/2","id":280905242,"user":{"login":"Vladar4","id":1783492,"avatar_url":"https://avatars.githubusercontent.com/u/1783492?v=3","gravatar_id":"","url":"https://api.github.com/users/Vladar4","html_url":"https://github.com/Vladar4","followers_url":"https://api.github.com/users/Vladar4/followers","following_url":"https://api.github.com/users/Vladar4/following{/other_user}","gists_url":"https://api.github.com/users/Vladar4/gists{/gist_id}","starred_url":"https://api.github.com/users/Vladar4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vladar4/subscriptions","organizations_url":"https://api.github.com/users/Vladar4/orgs","repos_url":"https://api.github.com/users/Vladar4/repos","events_url":"https://api.github.com/users/Vladar4/events{/privacy}","received_events_url":"https://api.github.com/users/Vladar4/received_events","type":"User","site_admin":false},"created_at":"2017-02-19T08:53:06Z","updated_at":"2017-02-19T08:53:06Z","body":"Call `discard app.renderer.setRenderDrawBlendMode(sdl.BlendModeBlend)` prior to this."}}
{"actor":{"display_login":"Vladar4"}}