diff options
author | Christian König <[email protected]> | 2011-09-01 13:41:12 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-09-01 19:20:47 +0200 |
commit | 41fa51a49a7c5d39d7ab273e44652efd0a5c8153 (patch) | |
tree | f56e0221d413c6744ee8693a4c31db32358328cf /src/gallium | |
parent | 4f37636afb5adc299ecbe497209702a47039580c (diff) |
st/xvmc: the alpha component of palette entries isn't used
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/xorg/xvmc/subpicture.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |