summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parker <dparker@chromium.org>2012-08-13 18:50:21 -0700
committerGerrit <chrome-bot@google.com>2012-08-13 20:37:27 -0700
commit9a6e6e7785988dc9a0434d5b734d282460a9ce6b (patch)
treeea4037e57005d0edfcb6878ea3ab54eaa0e18981
parentb57b8c3deae3dad870d8785fed46daabbdf35ea9 (diff)
downloadvboot-9a6e6e7785988dc9a0434d5b734d282460a9ce6b.tar.gz
Scale bmp files correctly for x86 when generating bmpblocks.
BUG=None TEST=Run 'make' in newbitmaps directory but remove the "clean" step in the Makefile. Use the bmp_viewer utility to verify all graphic elements are scaled. Change-Id: Ifd62c2ba3a6c354c4de7d9fd052d76de36842fb6 Reviewed-on: https://gerrit.chromium.org/gerrit/30126 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Commit-Ready: Dave Parker <dparker@chromium.org> Tested-by: Dave Parker <dparker@chromium.org>
-rwxr-xr-xscripts/newbitmaps/images/build_images2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/newbitmaps/images/build_images b/scripts/newbitmaps/images/build_images
index 6f61983c..375bd2cc 100755
--- a/scripts/newbitmaps/images/build_images
+++ b/scripts/newbitmaps/images/build_images
@@ -93,7 +93,7 @@ main() {
if [ "$X" = "$BACKGROUND_IMAGE" ]; then
convert_to_bmp3 "$X" "$output" "$background_scale_param"
else
- convert_to_bmp3 "$X" "$output" "$convert_param"
+ convert_to_bmp3 "$X" "$output" "$scale_param"
fi
done