This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via e403e7ee1b9adba8f821a623d862a03ac7afc941 (commit) from adef520463dc58869ba1570a8d5cd05b7691091a (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/e403e7ee1b9adba8f821a623d862a03ac7afc...
commit e403e7ee1b9adba8f821a623d862a03ac7afc941 Author: Cyril Hrubis metan@ucw.cz Date: Sun May 27 14:51:17 2012 +0200
loaders: Set bit endian flag on grayscale PNG load.
* The 1BPP_BE 2BPP_BE and 4BPP_BE blits doesn't work yet, ugh :(
diff --git a/libs/loaders/GP_PNG.c b/libs/loaders/GP_PNG.c index 3e8d6de..2afb072 100644 --- a/libs/loaders/GP_PNG.c +++ b/libs/loaders/GP_PNG.c @@ -199,6 +199,9 @@ GP_Context *GP_ReadPNG(FILE *f, GP_ProgressCallback *callback) goto err2; }
+ if (color_type == PNG_COLOR_TYPE_GRAY) + res->bit_endian = 1; + uint32_t y; /* start the actuall reading */
-----------------------------------------------------------------------
Summary of changes: libs/loaders/GP_PNG.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.