{"action":"created","issue":{"url":"https://api.github.com/repos/pygame/pygame/issues/462","repository_url":"https://api.github.com/repos/pygame/pygame","labels_url":"https://api.github.com/repos/pygame/pygame/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/pygame/pygame/issues/462/comments","events_url":"https://api.github.com/repos/pygame/pygame/issues/462/events","html_url":"https://github.com/pygame/pygame/issues/462","id":335038367,"node_id":"MDU6SXNzdWUzMzUwMzgzNjc=","number":462,"title":"aaline draws wrong colors on mac High Sierra","user":{"login":"gerryjenkinslb","id":905148,"node_id":"MDQ6VXNlcjkwNTE0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/905148?v=4","gravatar_id":"","url":"https://api.github.com/users/gerryjenkinslb","html_url":"https://github.com/gerryjenkinslb","followers_url":"https://api.github.com/users/gerryjenkinslb/followers","following_url":"https://api.github.com/users/gerryjenkinslb/following{/other_user}","gists_url":"https://api.github.com/users/gerryjenkinslb/gists{/gist_id}","starred_url":"https://api.github.com/users/gerryjenkinslb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerryjenkinslb/subscriptions","organizations_url":"https://api.github.com/users/gerryjenkinslb/orgs","repos_url":"https://api.github.com/users/gerryjenkinslb/repos","events_url":"https://api.github.com/users/gerryjenkinslb/events{/privacy}","received_events_url":"https://api.github.com/users/gerryjenkinslb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-22T22:38:08Z","updated_at":"2018-07-18T16:43:26Z","closed_at":"2018-07-14T13:36:41Z","author_association":"NONE","body":"This was a closed issue: [White lines as called from aaline draw in yellow. 2011](https://github.com/pygame/pygame/issues/46)\r\nBut the problem seems to have popped up again.\r\n\r\nWhen you have a black background and use aaline to draw a white line, you get a yellow line\r\nif you draw a blue line you get a black line on the black background.\r\n\r\nThis is a problem on mac High Sierra, but not Ubuntu Linux, these are the only two systems I tested it on.\r\n\r\n# shows color bug with aaline\r\n    \r\n    import pygame\r\n    from pygame.locals import *\r\n    \r\n    \r\n    pygame.init()\r\n    screen = pygame.display.set_mode((100, 100))\r\n    pygame.display.set_caption(\"aaline color wrong bug\")\r\n    screen.fill((0, 0, 0))  # black background\r\n    \r\n    L1_COLOR = (255, 255, 255)  # white\r\n    L2_COLOR = (  0,   0, 255)  # blue\r\n    \r\n    for y in range(10):  # draw 10 lines next to each other\r\n        pygame.draw.aaline(screen, L1_COLOR, (25, 30 + y), (75, 30 + y), True)\r\n        pygame.draw.aaline(screen, L2_COLOR, (25, 60 + y), (75, 60 + y), True)\r\n    \r\n    # Problem:  white shows as yellow, and blue shows as black\r\n    \r\n    \r\n    pygame.display.update()\r\n    \r\n    done = False\r\n    while not done:\r\n        for e in pygame.event.get():\r\n            if e.type == pygame.QUIT:\r\n                done = True\r\n            if e.type == KEYDOWN:\r\n                if e.key in (K_ESCAPE, K_SYSREQ):\r\n                    done = True\r\n    \r\n"},"comment":{"url":"https://api.github.com/repos/pygame/pygame/issues/comments/405997957","html_url":"https://github.com/pygame/pygame/issues/462#issuecomment-405997957","issue_url":"https://api.github.com/repos/pygame/pygame/issues/462","id":405997957,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTk5Nzk1Nw==","user":{"login":"gerryjenkinslb","id":905148,"node_id":"MDQ6VXNlcjkwNTE0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/905148?v=4","gravatar_id":"","url":"https://api.github.com/users/gerryjenkinslb","html_url":"https://github.com/gerryjenkinslb","followers_url":"https://api.github.com/users/gerryjenkinslb/followers","following_url":"https://api.github.com/users/gerryjenkinslb/following{/other_user}","gists_url":"https://api.github.com/users/gerryjenkinslb/gists{/gist_id}","starred_url":"https://api.github.com/users/gerryjenkinslb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerryjenkinslb/subscriptions","organizations_url":"https://api.github.com/users/gerryjenkinslb/orgs","repos_url":"https://api.github.com/users/gerryjenkinslb/repos","events_url":"https://api.github.com/users/gerryjenkinslb/events{/privacy}","received_events_url":"https://api.github.com/users/gerryjenkinslb/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T16:43:25Z","updated_at":"2018-07-18T16:43:25Z","author_association":"NONE","body":"It does works in new python3.7 with 1.9.4 correctly on osx 10.13.5\nin python3.6.4 pip installs 1.9.3 and not 1.9.4. So in that case, problem\nstill exists.\n\n-- Gerry Jenkins\n\n\n\nOn Sat, Jul 14, 2018 at 6:36 AM René Dudfield <notifications@github.com>\nwrote:\n\n> I guess this is fixed in git, but you tested with the old version? If it's\n> happening in 1.9.4, please let me know.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/pygame/pygame/issues/462#issuecomment-405024255>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AA3PvG2UNi3W1JpQkPsLcQtwDlszor3aks5uGfPqgaJpZM4U0gkR>\n> .\n>\n"}}
{"actor":{"display_login":"gerryjenkinslb"}}