summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2012-08-14 15:47:46 -0700
committerDuncan Laurie <dlaurie@chromium.org>2012-08-14 19:32:52 -0700
commitcd4564e6679ff41f2164ebe3d4062d66c4ff18d7 (patch)
treef96dd1bc288a0bb834ccc2c8484dd80956c2f024
parent72fda9a061e1b8c3e85e10b720307fb78e19a1fe (diff)
downloadvboot-cd4564e6679ff41f2164ebe3d4062d66c4ff18d7.tar.gz
(firmware-parrot)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. Original-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> (cherry picked from commit 9a6e6e7785988dc9a0434d5b734d282460a9ce6b) Change-Id: Id73559696e786aadf9b61c308186719f33d3c293 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/30339 Reviewed-by: Jay Kim <yongjaek@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