change HIDE_GL_LOG to DEBUG_GL, default to False

This commit is contained in:
Kovak 2015-06-12 13:24:17 -06:00
parent fffd543ae6
commit 2b642824c0
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -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()):