From 41fa51a49a7c5d39d7ab273e44652efd0a5c8153 Mon Sep 17 00:00:00 2001 From: Christian König Date: Thu, 1 Sep 2011 13:41:12 +0200 Subject: st/xvmc: the alpha component of palette entries isn't used --- src/gallium/state_trackers/xorg/xvmc/subpicture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/state_trackers/xorg/xvmc/subpicture.c b/src/gallium/state_trackers/xorg/xvmc/subpicture.c index 9e29a538cc2..190442990c8 100644 --- a/src/gallium/state_trackers/xorg/xvmc/subpicture.c +++ b/src/gallium/state_trackers/xorg/xvmc/subpicture.c @@ -270,7 +270,7 @@ Status XvMCCreateSubpicture(Display *dpy, XvMCContext *context, XvMCSubpicture * if (subpicture->num_palette_entries > 0) { tex_templ.target = PIPE_TEXTURE_1D; - tex_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; + tex_templ.format = PIPE_FORMAT_R8G8B8X8_UNORM; tex_templ.width0 = subpicture->num_palette_entries; tex_templ.height0 = 1; tex_templ.usage = PIPE_USAGE_STATIC; -- cgit v1.2.3