mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
[234/906] use right blending function with pixbuf overlay
This commit is contained in:
parent
f14db54179
commit
934797f86c
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ gst_gl_pixbufoverlay_draw_texture (GstGLPixbufOverlay * pixbufoverlay, GLuint te
|
||||||
height = pixbufoverlay->height;
|
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_BLEND);
|
||||||
|
|
||||||
glEnable (GL_TEXTURE_RECTANGLE_ARB);
|
glEnable (GL_TEXTURE_RECTANGLE_ARB);
|
||||||
|
|
Loading…
Reference in a new issue