summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-08-21 12:41:23 (GMT)
committerGuido van Rossum <guido@python.org>1992-08-21 12:41:23 (GMT)
commit33a8d428dbd15fcdf05234a7aba65d760c68385f (patch)
tree1a7b3399d758091fba872b8f005c62e6b03183cf
parente755aa50e26923f5928b0e71924bc035f7c7b495 (diff)
downloadcpython-33a8d428dbd15fcdf05234a7aba65d760c68385f.zip
cpython-33a8d428dbd15fcdf05234a7aba65d760c68385f.tar.gz
cpython-33a8d428dbd15fcdf05234a7aba65d760c68385f.tar.bz2
Clear the window to rather light grey when switching to RGB mode.
-rwxr-xr-xDemo/sgi/video/VFile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Demo/sgi/video/VFile.py b/Demo/sgi/video/VFile.py
index d63911b..17f677f 100755
--- a/Demo/sgi/video/VFile.py
+++ b/Demo/sgi/video/VFile.py
@@ -301,6 +301,8 @@ class VinFile:
if self.format == 'rgb':
gl.RGBmode()
gl.gconfig()
+ gl.RGBcolor(200, 200, 200)
+ gl.clear()
return
gl.cmode()
gl.gconfig()