glamor: Unify the variable name which used to indicate no alpha.

The original code use different name and the name is vague.
Now change it to no_alpha.

Signed-off-by: Zhigang Gong <zhigang.gong@gmail.com>
This commit is contained in:
Zhigang Gong 2011-08-11 15:27:12 -04:00 • committed by Zhigang Gong
commit 667d65534d
5 changed files with 41 additions and 39 deletions

View file

@ -41,7 +41,7 @@ glamor_get_spans(DrawablePtr drawable,
{
PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable);
GLenum format, type;
int ax;
int no_alpha;
glamor_screen_private *glamor_priv = glamor_get_screen_private(drawable->pScreen);
glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap);
int i;
@ -56,7 +56,7 @@ glamor_get_spans(DrawablePtr drawable,
if (glamor_get_tex_format_type_from_pixmap(pixmap,
&format,
&type,
&ax
&no_alpha
)) {
glamor_fallback("unknown depth. %d \n",
drawable->depth);