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 8bb3b493c0a89be19912de69a505e78708f98b19 (commit) from fde90a28ce68be92f54b9ca7be882ddc7eb20361 (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/8bb3b493c0a89be19912de69a505e78708f98...
commit 8bb3b493c0a89be19912de69a505e78708f98b19 Author: Cyril Hrubis metan@ucw.cz Date: Tue Apr 3 00:45:02 2012 +0200
core: Fix subcontext rotation.
diff --git a/libs/core/GP_Context.c b/libs/core/GP_Context.c index ca95b46..87a44d1 100644 --- a/libs/core/GP_Context.c +++ b/libs/core/GP_Context.c @@ -161,6 +161,9 @@ GP_Context *GP_ContextSubContext(GP_Context *context, GP_Context *subcontext, GP_Coord x, GP_Coord y, GP_Size w, GP_Size h) { GP_CHECK(context, "NULL context"); + + GP_TRANSFORM_RECT(context, x, y, w, h); + GP_CHECK(context->w >= x + w, "Subcontext w out of original context."); GP_CHECK(context->h >= y + h, "Subcontext h out of original context.");
-----------------------------------------------------------------------
Summary of changes: libs/core/GP_Context.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.