From e23e4516f7c22f13b7e57650229c84a3996e2e3d Mon Sep 17 00:00:00 2001 From: Rinat Date: Fri, 28 Mar 2014 20:47:24 +0400 Subject: [PATCH] request depth buffer for texture-from-pixmap --- src/api-video-mixer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api-video-mixer.c b/src/api-video-mixer.c index 5a04651..da44002 100644 --- a/src/api-video-mixer.c +++ b/src/api-video-mixer.c @@ -56,6 +56,7 @@ _render_va_surf_to_texture(VdpVideoMixerData *videoMixerData, VdpVideoSurfaceDat GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 8, + GLX_DEPTH_SIZE, 16, GLX_BIND_TO_TEXTURE_RGBA_EXT, GL_TRUE, GL_NONE };