mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
st/xvmc: the alpha component of palette entries isn't used
This commit is contained in:
parent
4f37636afb
commit
41fa51a49a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue