mirror of https://github.com/kivy/kivy.git
change HIDE_GL_LOG to DEBUG_GL, default to False
This commit is contained in:
parent
fffd543ae6
commit
2b642824c0
|
@ -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(
|
||||
|
|
2
setup.py
2
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()):
|
||||
|
|
Loading…
Reference in New Issue