[234/906] use right blending function with pixbuf overlay

This commit is contained in:
Filippo Argiolas 2008-09-22 09:47:16 +02:00 committed by Matthew Waters
parent f14db54179
commit 934797f86c

View file

@ -181,7 +181,7 @@ gst_gl_pixbufoverlay_draw_texture (GstGLPixbufOverlay * pixbufoverlay, GLuint te
height = pixbufoverlay->height;
// }
glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable (GL_TEXTURE_RECTANGLE_ARB);