From adc44cc66dde30efe0c9de6d81e065b5b20929d8 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 30 Jan 2011 14:59:02 +0100 Subject: [PATCH 1/2] Makefile: remove build_factory for build/mesabuild + add clean pyc/pyo in kivy package --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 02779e954..390237ad7 100644 --- a/Makefile +++ b/Makefile @@ -4,11 +4,9 @@ KIVY_DIR = kivy/ mesabuild: $(PYTHON) setup.py build_ext --inplace --define __MESAGL__ - $(PYTHON) setup.py build_factory build: $(PYTHON) setup.py build_ext --inplace - $(PYTHON) setup.py build_factory style: $(PYTHON) $(CHECKSCRIPT) $(KIVY_DIR) @@ -37,6 +35,8 @@ clean: -rm .coverage -rm .noseids -rm -rf kivy/tests/build + -find kivy -iname '*.pyc' -exec rm {} \; + -find kivy -iname '*.pyo' -exec rm {} \; distclean: clean -git clean -dxf From 619ea74b9ed1159f4819db3ba0486914d73ed3bd Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 30 Jan 2011 15:00:37 +0100 Subject: [PATCH 2/2] window: revert color to black (issue already open for beeing able to change it) --- kivy/core/window/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/core/window/__init__.py b/kivy/core/window/__init__.py index 3daab8a83..40276607b 100644 --- a/kivy/core/window/__init__.py +++ b/kivy/core/window/__init__.py @@ -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):