gl/utils: also take care of the local GL context in query functions
authorMatthew Waters <matthew@centricular.com>
Thu, 12 Jan 2017 10:35:25 +0000 (21:35 +1100)
committerMatthew Waters <matthew@centricular.com>
Fri, 13 Jan 2017 00:20:51 +0000 (11:20 +1100)
commit64394fc29635328a8827954cc5e5f998aa06cc07
tree3ff5f3f5cff8ff19900ac3737d876e6243839ba5
parentc51210f2a81b0fe318e9526980475bc5bc5a6ca6
gl/utils: also take care of the local GL context in query functions

Simplifies a deduplicates a lot of code in elements retrieving/setting
the local OpenGL context.
ext/gtk/gstgtkglsink.c