Module: Mesa Branch: master Commit: 41fa51a49a7c5d39d7ab273e44652efd0a5c8153 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41fa51a49a7c5d39d7ab273e44652efd0a5c8153
Author: Christian König <[email protected]> Date: Thu Sep 1 13:41:12 2011 +0200 st/xvmc: the alpha component of palette entries isn't used --- 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 9e29a53..1904429 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
