diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-20 17:56:59 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-20 17:56:59 +0000 |
| commit | 8e9e6635a12854ef6e2e80a74f5572da5fce64df (patch) | |
| tree | 7c0e2ed24f4628477ca76f4bf201cb3ef3b59701 /apps | |
| parent | 1b13299769a3f2eed3137727cdaf8fdd2f8e4791 (diff) | |
| download | rockbox-8e9e6635a12854ef6e2e80a74f5572da5fce64df.zip rockbox-8e9e6635a12854ef6e2e80a74f5572da5fce64df.tar.gz rockbox-8e9e6635a12854ef6e2e80a74f5572da5fce64df.tar.bz2 rockbox-8e9e6635a12854ef6e2e80a74f5572da5fce64df.tar.xz | |
fix red on grayscale in pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19803 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/pictureflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c index d7ba8b9..1190de1 100644 --- a/apps/plugins/pictureflow.c +++ b/apps/plugins/pictureflow.c @@ -408,7 +408,7 @@ static void output_row_transposed(uint32_t row, void * row_in, #ifdef USEGSLIB uint32_t *qp = (uint32_t*)row_in; for (; dest < end; dest += ctx->bm->height) - *dest = SC_MUL((*qp++) + ctx->round), ctx->divisor); + *dest = SC_MUL((*qp++) + ctx->round, ctx->divisor); #else struct uint32_rgb *qp = (struct uint32_rgb*)row_in; uint32_t rb_mul = SCALE_VAL(ctx->divisor, 31), |