[Armadeus-commitlog] armadeus branch, master, updated. armadeus-6.0-315-g102abb4
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2017-08-08 08:29:32
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 102abb4f4b5df7d4f0f4a5cfa464690a51253717 (commit)
from a21d1e5f65d1aac96660b379ae735c8ee80a2620 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 102abb4f4b5df7d4f0f4a5cfa464690a51253717
Author: Julien BOIBESSOT <jul...@ar...>
Date: Tue Aug 8 10:29:02 2017 +0200
[DEMOS] fb_alpha: factorize some printed infos
-----------------------------------------------------------------------
Summary of changes:
target/demos/fb_alpha/fb_alpha.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/target/demos/fb_alpha/fb_alpha.c b/target/demos/fb_alpha/fb_alpha.c
index 2c7d1c1..3a764af 100644
--- a/target/demos/fb_alpha/fb_alpha.c
+++ b/target/demos/fb_alpha/fb_alpha.c
@@ -124,12 +124,13 @@ int main(int argc, char **argv)
case 'g':
gbl_alpha.enable = atoi(optarg);
if (gbl_alpha.enable == 1) {
- printf("enable global alpha blending\n");
+ printf("enabling");
key.enable = 1;
} else {
- printf("disable global alpha blending\n");
+ printf("disabling");
key.enable = 0;
}
+ printf(" global alpha blending\n");
break;
case 'a':
@@ -140,10 +141,11 @@ int main(int argc, char **argv)
l_alpha.alpha_in_pixel = 1;
l_alpha.enable = atoi(optarg);
if (l_alpha.enable == 1) {
- printf("enable local alpha blending\n");
+ printf("enabling");
} else {
- printf("disable local alpha blending\n");
+ printf("disabling");
}
+ printf(" local alpha blending\n");
break;
case 'k':
hooks/post-receive
--
armadeus
|