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 0a5fbacf4887f8cf496cf45c9fa7121f091f1153 (commit) from 40ef6e9a083f24ff72acc2a52e0902cb35d5a768 (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/0a5fbacf4887f8cf496cf45c9fa7121f091f1...
commit 0a5fbacf4887f8cf496cf45c9fa7121f091f1153 Author: Cyril Hrubis metan@ucw.cz Date: Sun Feb 19 19:58:06 2012 +0100
backends: Fix backend Flip to respect context rotation.
diff --git a/include/backends/GP_Backend.h b/include/backends/GP_Backend.h index a50065a..4ddda59 100644 --- a/include/backends/GP_Backend.h +++ b/include/backends/GP_Backend.h @@ -42,6 +42,7 @@ #ifndef BACKENDS_GP_BACKEND_H #define BACKENDS_GP_BACKEND_H
+#include "core/GP_Transform.h" #include "core/GP_Context.h"
struct GP_Backend; @@ -127,10 +128,12 @@ static inline void GP_BackendFlip(GP_Backend *backend) * Calls backend->UpdateRect(). */ static inline void GP_BackendUpdateRect(GP_Backend *backend, - GP_Coord x1, GP_Coord y1, - GP_Coord x2, GP_Coord y2) + GP_Coord x0, GP_Coord y0, + GP_Coord x1, GP_Coord y1) { - backend->UpdateRect(backend, x1, y1, x2, y2); + GP_TRANSFORM_POINT(backend->context, x0, y0); + GP_TRANSFORM_POINT(backend->context, x1, y1); + backend->UpdateRect(backend, x0, y0, x1, y1); }
/*
-----------------------------------------------------------------------
Summary of changes: include/backends/GP_Backend.h | 9 ++++++--- 1 files changed, 6 insertions(+), 3 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.