glwindow: track context activation properly
authorMatthew Waters <matthew@centricular.com>
Tue, 21 Apr 2015 02:25:11 +0000 (12:25 +1000)
committerMatthew Waters <matthew@centricular.com>
Tue, 21 Apr 2015 02:55:24 +0000 (12:55 +1000)
commitab9eb432fb4d3636e3c77fab3baf47cda5b75f9f
tree8279edcfd5e06030c1914e3d724c00432706e158
parent6cb6d8f9e8585d12b50731d4431d9ab467c5a67d
glwindow: track context activation properly

We only need to deactivate/reactivate the context iff it was already
active.
gst-libs/gst/gl/gstglwindow.c