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 5cdba1dbc960776f21bdd7e9a07a4546ad918ea3 (commit) via 86f0ef66d88f47ebb9ac8b9a1a30a83e3b449d2b (commit) from eb0fe417461ded37e79ffa76e90cedf1b39af555 (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/5cdba1dbc960776f21bdd7e9a07a4546ad918...
commit 5cdba1dbc960776f21bdd7e9a07a4546ad918ea3 Merge: 86f0ef6 eb0fe41 Author: Tomas Gavenciak gavento@ucw.cz Date: Sat Nov 26 23:31:25 2011 +0100
Merge branch 'master' of git://repo.or.cz/gfxprim
http://repo.or.cz/w/gfxprim.git/commit/86f0ef66d88f47ebb9ac8b9a1a30a83e3b449...
commit 86f0ef66d88f47ebb9ac8b9a1a30a83e3b449d2b Author: Tomas Gavenciak gavento@ucw.cz Date: Sat Nov 26 23:24:11 2011 +0100
Fix GP_ContextConvert
... a little, still not ideal, but IMO not worth it
diff --git a/libs/core/GP_Context.c b/libs/core/GP_Context.c index 7079901..73e926e 100644 --- a/libs/core/GP_Context.c +++ b/libs/core/GP_Context.c @@ -110,11 +110,13 @@ GP_Context *GP_ContextAlloc(GP_Size w, GP_Size h, GP_PixelType type) GP_Context *GP_ContextConvert(const GP_Context *src, GP_PixelType dst_pixel_type) { - GP_Context *ret = GP_ContextAlloc(src->w, src->h, dst_pixel_type); + int w = GP_ContextW(src); + int h = GP_ContextH(src); + GP_Context *ret = GP_ContextAlloc(w, h, dst_pixel_type); if (ret == NULL) return NULL;
- GP_Blit_Naive(src, 0, 0, src->w, src->h, ret, 0, 0); + GP_Blit(src, 0, 0, w, h, ret, 0, 0); return ret; }
-----------------------------------------------------------------------
Summary of changes: libs/core/GP_Context.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 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.