gltransformation: don't initialize multiple shaders on renegotiation
authorLubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
Tue, 21 Apr 2015 07:43:58 +0000 (09:43 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:59 +0000 (19:31 +0000)
commit590c7032d8ee08c6f1a9520d9acbe26a32128535
tree0542f35300bc1d2d71bfc501c7cf062e99fba1ca
parentc75f6b347fc2ced145adea6fccdd1f1cbbc381bc
gltransformation: don't initialize multiple shaders on renegotiation

https://bugzilla.gnome.org/show_bug.cgi?id=748407

* delete shader if one exists
* set it to NULL after unrefing
ext/gl/gstgltransformation.c