glcontext: don't enable GL debug for messages that won't be logged
authorMatthew Waters <matthew@centricular.com>
Tue, 16 Feb 2016 02:58:42 +0000 (13:58 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:16 +0000 (19:32 +0000)
commit7dcdb1d29c52a623d87c623a199ef29e982050ba
tree2f41a2be6b7c2227faa172e8bc66552e10cb530b
parentecdb9d655038bbc76eeb3472cdc472c6a1b07426
glcontext: don't enable GL debug for messages that won't be logged

This is an optimization to avoid pointless string processing.
gst-libs/gst/gl/gstglcontext.c
gst-libs/gst/gl/gstgldebug.c