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)
committerMatthew Waters <matthew@centricular.com>
Tue, 16 Feb 2016 03:00:05 +0000 (14:00 +1100)
commit02262a20e825f2adce966c662e071d274471a917
tree0cf688e130e8d2674269cd57755b079cf44439c0
parenteffe1323105059cbd3380c97fc65a605a2120623
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