mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Clear the window to rather light grey when switching to RGB mode.
This commit is contained in:
parent
e755aa50e2
commit
33a8d428db
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue