Add QSG_OPENGL_DEBUG environment variable
authorenkore <public@enkore.de>
Mon, 6 Oct 2014 17:39:27 +0000 (19:39 +0200)
committerMarian Beermann <public@enkore.de>
Mon, 6 Oct 2014 22:12:00 +0000 (00:12 +0200)
commit4cc76248e81307be41b84c71e95e267daed6f728
tree55e960e5cf2df415c309052b4d0c9f0d1600913a
parent1670097fa2b0a549a9509ba4c8be13924bd25c4c
Add QSG_OPENGL_DEBUG environment variable

If QSG_OPENGL_DEBUG is set the OpenGL context is always created as a debug
context. Not setting QSG_OPENGL_DEBUG uses the default value obtained
from QSurfaceFormat::defaultFormat().

Change-Id: I8cc2c8f995cfdb2ed762eb155d77ca11b2db7b72
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
src/quick/scenegraph/qsgcontext.cpp