diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-29 07:55:54 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-29 07:55:54 -0700 |
commit | 63c7d5c4e0437aad068d31f4b480c377d5998948 (patch) | |
tree | c4932a914666ff2c9c3bafc36b5d74c19640b11a | |
parent | c9382ee2c95e23a9d077d62425f7e9cf6549b6b6 (diff) | |
download | mu-63c7d5c4e0437aad068d31f4b480c377d5998948.tar.gz |
downsampling photos makes the dithering seem worse
We support 128px, so let's use the whole 128px.
-rw-r--r-- | shell/global.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/global.mu b/shell/global.mu index 358908f8..80bd8c40 100644 --- a/shell/global.mu +++ b/shell/global.mu @@ -164,7 +164,7 @@ fn render-globals screen: (addr screen), _self: (addr global-table), show-cursor compare render-image?, 0/false break-if-= render-image-definition screen, curr, 0/x y1 - add-to y1, 6 # 1 line for definition, 4 lines (64px) for image, 1 line padding + add-to y1, 0xa # 1 line for definition, 8 lines (128px) for image, 1 line padding break $render-globals:iter } var curr-input-ah/eax: (addr handle gap-buffer) <- get curr, input @@ -643,5 +643,5 @@ fn render-image-definition screen: (addr screen), _self: (addr global), x: int, var img-cell/eax: (addr cell) <- lookup *img-cell-ah var img-ah/eax: (addr handle image) <- get img-cell, image-data var img/eax: (addr image) <- lookup *img-ah - render-image screen, img, x y, 0x40/w 0x40/h + render-image screen, img, x y, 0x80/w 0x80/h } |