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, generate has been updated via 01aaa35ef40df33f0153ec4431b683af7da56a2a (commit) from 9e8793ceec06e0c006747c33770bc6e4b19324a6 (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/01aaa35ef40df33f0153ec4431b683af7da56...
commit 01aaa35ef40df33f0153ec4431b683af7da56a2a Author: Cyril Hrubis metan@ucw.cz Date: Sat Aug 20 23:39:23 2011 +0200
Fixed WritePixels24().
diff --git a/libs/core/GP_WritePixel.c b/libs/core/GP_WritePixel.c index 182a42e..090cb5c 100644 --- a/libs/core/GP_WritePixel.c +++ b/libs/core/GP_WritePixel.c @@ -236,6 +236,7 @@ void GP_WritePixels24bpp(void *start, size_t count, uint32_t value) block[1] = bcab; block[2] = cabc; p = (uint32_t *)(bytep + 3); + i--; break; }
@@ -262,11 +263,13 @@ void GP_WritePixels24bpp(void *start, size_t count, uint32_t value) case 2: bytep[0] = c; bytep++; + i--; break; case 3: bytep[0] = b; bytep[1] = c; bytep += 2; + i--; break; }
-----------------------------------------------------------------------
Summary of changes: libs/core/GP_WritePixel.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.