[234/906] use right blending function with pixbuf overlay
This commit is contained in:
parent
f14db54179
commit
934797f86c
@ -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…
x
Reference in New Issue
Block a user