mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-01 22:03:09 +00:00
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:
parent
5e7fdbb498
commit
667d65534d
5 changed files with 41 additions and 39 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue