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 96ac55e75beb4dd1f167ef34b5e9bad72f71c3aa (commit)
via e622362b6290f603262c9b2323a559bad85517d5 (commit)
from a9124caa3f7c756fc3c7bdba6ffadd4307222454 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification …
[View More]email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/gfxprim.git/commit/96ac55e75beb4dd1f167ef34b5e9bad72f71…
commit 96ac55e75beb4dd1f167ef34b5e9bad72f71c3aa
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sat Apr 7 20:06:04 2012 +0200
build: Now the libSDL less build actually works.
diff --git a/tests/SDL/Makefile b/tests/SDL/Makefile
index 529dd83..436b8b3 100644
--- a/tests/SDL/Makefile
+++ b/tests/SDL/Makefile
@@ -1,16 +1,16 @@
TOPDIR=../..
-
-CSOURCES=$(shell echo *.c)
+include $(TOPDIR)/pre.mk
INCLUDE=core gfx SDL backends
LDLIBS+=-lGP -L$(TOPDIR)/build/ -lGP_SDL -lSDL
ifeq ($(HAVE_LIBSDL),yes)
+CSOURCES=$(shell echo *.c)
+
APPS=pixeltest fileview fonttest linetest randomshapetest shapetest sierpinsky symbolstest textaligntest trianglefps input blittest subcontext showimage aatest mixpixeltest
endif
-include $(TOPDIR)/pre.mk
include $(TOPDIR)/app.mk
include $(TOPDIR)/post.mk
http://repo.or.cz/w/gfxprim.git/commit/e622362b6290f603262c9b2323a559bad855…
commit e622362b6290f603262c9b2323a559bad85517d5
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sat Apr 7 20:04:14 2012 +0200
build: include config.mk in pre.mk.
diff --git a/post.mk b/post.mk
index fd95b0a..bafd7fb 100644
--- a/post.mk
+++ b/post.mk
@@ -26,8 +26,6 @@ help:
@echo "'VERBOSE' shell variable as 'VERBOSE=1 make'"
@echo ""
-include $(TOPDIR)/config.mk
-
#
# Determine mode (eg do not generate anything if not in compile mode
#
diff --git a/pre.mk b/pre.mk
index b815a42..3a935a0 100644
--- a/pre.mk
+++ b/pre.mk
@@ -1 +1,3 @@
all: compile
+
+include $(TOPDIR)/config.mk
-----------------------------------------------------------------------
Summary of changes:
post.mk | 2 --
pre.mk | 2 ++
tests/SDL/Makefile | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos(a)gmail.com
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")
[View Less]
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 ------…
[View More]-----------------------------------------------------------
http://repo.or.cz/w/gfxprim.git/commit/8bb3b493c0a89be19912de69a505e78708f9…
commit 8bb3b493c0a89be19912de69a505e78708f98b19
Author: Cyril Hrubis <metan(a)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(a)gmail.com
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")
[View Less]