diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-11-12 17:16:27 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-11-12 17:16:27 (GMT) |
commit | 6e9a1c8c55bc1124b93dc60265e1f1e04d7a893b (patch) | |
tree | cd2caeb290050a07795aa4877e12d7cbcfd416fa /TurtleArt/tacanvas.py | |
parent | 5beecd45a4920f3da45d6b8c45e5ba869f5b4f6e (diff) |
cscott got the pixel order backwards
Diffstat (limited to 'TurtleArt/tacanvas.py')
-rw-r--r-- | TurtleArt/tacanvas.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/tacanvas.py b/TurtleArt/tacanvas.py index 49f0e8a..43e5ad2 100644 --- a/TurtleArt/tacanvas.py +++ b/TurtleArt/tacanvas.py @@ -719,7 +719,7 @@ class TurtleGraphics: cs.flush() # ensure all writing is done # Read the pixel pixels = cs.get_data() - return (ord(pixels[0]), ord(pixels[1]), ord(pixels[2]), 0) + return (ord(pixels[2]), ord(pixels[1]), ord(pixels[0]), 0) else: return(-1, -1, -1, -1) |