mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Render normal, not darker.
This commit is contained in:
parent
075324948e
commit
1f2d5c64b1
@ -236,8 +236,8 @@ void GfxRenderer::drawBitmap(const Bitmap& bitmap, const int x, const int y, con
|
|||||||
int extendY = 20;
|
int extendY = 20;
|
||||||
int drawExtY = 0;
|
int drawExtY = 0;
|
||||||
// don't draw MSB for darker extended area
|
// don't draw MSB for darker extended area
|
||||||
if (extend && renderMode != GRAYSCALE_MSB) {
|
// if (extend && renderMode != GRAYSCALE_MSB) {
|
||||||
// if (extend) {
|
if (extend) {
|
||||||
if (screenY - y < extendY) {
|
if (screenY - y < extendY) {
|
||||||
for (int ny = 0; ny < y / extendY / 2; ny++) {
|
for (int ny = 0; ny < y / extendY / 2; ny++) {
|
||||||
// TODO: handle when extendY > y
|
// TODO: handle when extendY > y
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user