From 2b642824c0dd6fa41d28ec5c13be39702ddf6ba4 Mon Sep 17 00:00:00 2001 From: Kovak Date: Fri, 12 Jun 2015 13:24:17 -0600 Subject: [PATCH] change HIDE_GL_LOG to DEBUG_GL, default to False --- kivy/graphics/gl_debug_logger.pxi | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kivy/graphics/gl_debug_logger.pxi b/kivy/graphics/gl_debug_logger.pxi index 4f8e3e1f1..37ba65625 100644 --- a/kivy/graphics/gl_debug_logger.pxi +++ b/kivy/graphics/gl_debug_logger.pxi @@ -3,7 +3,7 @@ from kivy.logger import Logger include "config.pxi" cdef inline void log_gl_error(str note): - IF not HIDE_GL_LOG: + IF DEBUG_GL: ret = glGetError() if ret: Logger.error("OpenGL Error: {note} {ret1} / {ret2}".format( diff --git a/setup.py b/setup.py index a472d4888..235c496aa 100644 --- a/setup.py +++ b/setup.py @@ -110,7 +110,7 @@ c_options['use_x11'] = False c_options['use_gstreamer'] = None c_options['use_avfoundation'] = platform == 'darwin' c_options['use_osx_frameworks'] = platform == 'darwin' -c_options['hide_gl_log'] = False +c_options['debug_gl'] = False # now check if environ is changing the default values for key in list(c_options.keys()):