window: revert color to black (issue already open for beeing able to change it)

This commit is contained in:
Mathieu Virbel 2011-01-30 15:00:37 +01:00
parent adc44cc66d
commit 619ea74b9e
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ class WindowBase(EventDispatcher):
# XXX FIXME use late binding
from kivy.graphics.opengl import glClearColor, glClear, \
GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT
glClearColor(1, 0, 1, 1)
glClearColor(0, 0, 0, 0)
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
def to_widget(self, x, y, initial=True, relative=False):