summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/gl
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sgi/gl')
-rw-r--r--Demo/sgi/gl/glstdwin/tcolor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/sgi/gl/glstdwin/tcolor.py b/Demo/sgi/gl/glstdwin/tcolor.py
index cf96158..d1c49e1 100644
--- a/Demo/sgi/gl/glstdwin/tcolor.py
+++ b/Demo/sgi/gl/glstdwin/tcolor.py
@@ -1,6 +1,6 @@
# Try colors -- display all 256 possible colors, with their color index
-# import stdwingl
+import stdwingl
import stdwin
from stdwinevents import *
@@ -30,9 +30,9 @@ def main():
p = col*width/NCOLS, row*height/NROWS
q = (col+1)*width/NCOLS, \
(row+1)*height/NROWS
- d.paint(p, q)
+ d.paint((p, q))
d.setfgcolor(0)
- d.box(p, q)
+ d.box((p, q))
d.text(p, `color`)
p = p[0] , p[1]+ d.lineheight()
d.setfgcolor(7)