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 aa38ffc5adc9cd8ed510838924a420eab3e64ce2 (commit) via ab9ecb3a6e5a775eb10a8e3b82753da21f5d486a (commit) from 37c452a809960d666b96c68e30349aa8e17041a7 (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/aa38ffc5adc9cd8ed510838924a420eab3e64...
commit aa38ffc5adc9cd8ed510838924a420eab3e64ce2 Author: Cyril Hrubis metan@ucw.cz Date: Fri Oct 14 13:08:59 2011 +0000
GP_PNG.c: fix printf format warnings.
diff --git a/libs/loaders/GP_PNG.c b/libs/loaders/GP_PNG.c index 50395b4..dae8120 100644 --- a/libs/loaders/GP_PNG.c +++ b/libs/loaders/GP_PNG.c @@ -112,7 +112,7 @@ GP_RetCode GP_ReadPNG(FILE *f, GP_Context **res) color_type & PNG_COLOR_MASK_PALETTE ? "pallete " : "", color_type & PNG_COLOR_MASK_COLOR ? "color" : "gray", color_type & PNG_COLOR_MASK_ALPHA ? " with alpha channel" : "", - w, h, depth); + (unsigned int)w, (unsigned int)h, depth);
switch (color_type) { case PNG_COLOR_TYPE_GRAY:
http://repo.or.cz/w/gfxprim.git/commit/ab9ecb3a6e5a775eb10a8e3b82753da21f5d4...
commit ab9ecb3a6e5a775eb10a8e3b82753da21f5d486a Author: Cyril Hrubis metan@ucw.cz Date: Fri Oct 14 13:06:08 2011 +0000
GP_Polygon.c: remove unused variables.
diff --git a/libs/gfx/GP_Polygon.c b/libs/gfx/GP_Polygon.c index cef18c0..fa82216 100644 --- a/libs/gfx/GP_Polygon.c +++ b/libs/gfx/GP_Polygon.c @@ -161,8 +161,6 @@ void GP_FillPolygon_Raw(GP_Context *context, GP_Coord vertex_count, GP_LoadPolygon(&poly, vertex_count, xy);
GP_Coord y, startx, endx; - GP_Coord startx_prev = -INT_MAX; - GP_Coord endx_prev = INT_MAX;
for (y = poly.ymin; y <= poly.ymax; y++) { startx = INT_MAX; @@ -188,9 +186,6 @@ void GP_FillPolygon_Raw(GP_Context *context, GP_Coord vertex_count, }
GP_HLine_Raw(context, startx, endx, y, pixel); - - startx_prev = startx; - endx_prev = endx; }
GP_ResetPolygon(&poly);
-----------------------------------------------------------------------
Summary of changes: libs/gfx/GP_Polygon.c | 5 ----- libs/loaders/GP_PNG.c | 2 +- 2 files changed, 1 insertions(+), 6 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.