gloverlaycompositor: Also disable the blend when done
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 15 Aug 2015 13:02:33 +0000 (15:02 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 15 Aug 2015 13:55:08 +0000 (15:55 +0200)
gst-libs/gst/gl/gstgloverlaycompositor.c

index 7efef3f1316997c491820801d2c1680d27cf8490..97a4aab4bea98f0def1e8ce245dc93c21cd3c121 100644 (file)
@@ -584,6 +584,7 @@ gst_gl_overlay_compositor_draw_overlays (GstGLOverlayCompositor * compositor)
     }
 
     gl->BindTexture (GL_TEXTURE_2D, 0);
+    gl->Disable (GL_BLEND);
   }
 }