summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRinat Ibragimov <ibragimovrinat@mail.ru>2014-01-12 19:45:17 +0400
committerXiang, Haihao <haihao.xiang@intel.com>2014-01-16 10:48:59 +0800
commitb4a4f9b212d8b0bf41a910a85a4898573261d2a7 (patch)
treedd136cec5457df0f4ec92f0c59bd16ad52bc540a
parent73a11b3e249da35ede92560eb089239252721351 (diff)
do not request any GLX_DEPTH_SIZE in create_tfp_surface
Window depth was confused with OpenGL depth buffer. Signed-off-by: Rinat <ibragimovrinat@mail.ru>
-rw-r--r--va/glx/va_glx_impl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/va/glx/va_glx_impl.c b/va/glx/va_glx_impl.c
index 5299589..e181c9a 100644
--- a/va/glx/va_glx_impl.c
+++ b/va/glx/va_glx_impl.c
@@ -504,7 +504,6 @@ static int create_tfp_surface(VADriverContextP ctx, VASurfaceGLXP pSurfaceGLX)
};
for (attrib = fbconfig_attrs; *attrib != GL_NONE; attrib += 2)
;
- *attrib++ = GLX_DEPTH_SIZE; *attrib++ = wattr.depth;
if (wattr.depth == 32) {
*attrib++ = GLX_ALPHA_SIZE; *attrib++ = 8;
*attrib++ = GLX_BIND_TO_TEXTURE_RGBA_EXT; *attrib++ = GL_TRUE;