]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clear the window to rather light grey when switching to RGB mode.
authorGuido van Rossum <guido@python.org>
Fri, 21 Aug 1992 12:41:23 +0000 (12:41 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 21 Aug 1992 12:41:23 +0000 (12:41 +0000)
Demo/sgi/video/VFile.py

index d63911b9b15f1e4b400a775ef540de77845c53c0..17f677f315d13472655480e76bba5ff63ead2182 100755 (executable)
@@ -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()