clearcolor black again. ooops

This commit is contained in:
Christopher Denter 2011-01-30 15:00:24 +01:00
parent aab3322cdf
commit ed44a4e274
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):