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 3354fbc9c92960230a3111ac5ae82064bc8c63a2 (commit) via 1342b492e9166913d023318d038dd7ee1a7af664 (commit) via 3ccc04bfd1972d26ef574696f69df38f0e3cac3d (commit) from bb3d38ce1cc2b6877b7bc70344a91a01fcbfdbb5 (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/3354fbc9c92960230a3111ac5ae82064bc8c6...
commit 3354fbc9c92960230a3111ac5ae82064bc8c63a2 Author: Cyril Hrubis metan@ucw.cz Date: Sat Jun 15 00:34:35 2013 +0200
demos: c_simple: blittest: Add check.
Add check if sprite was sucesfully loaded.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/demos/c_simple/blittest.c b/demos/c_simple/blittest.c index 9130b57..1e84efd 100644 --- a/demos/c_simple/blittest.c +++ b/demos/c_simple/blittest.c @@ -154,6 +154,13 @@ int main(void)
print_instructions(); + bitmap_raw = GP_LoadImage(sprite, NULL); + + if (!bitmap_raw) { + fprintf(stderr, "Failed to load '%s'n", sprite); + return 1; + } + win = GP_BackendInit(backend_opts, "Blit Test", stderr);
if (win == NULL) { @@ -162,8 +169,6 @@ int main(void) return 1; }
- bitmap_raw = GP_LoadImage(sprite, NULL); - bitmap_conv = GP_ContextConvertAlloc(bitmap_raw, win->context->pixel_type); change_bitmap();
http://repo.or.cz/w/gfxprim.git/commit/1342b492e9166913d023318d038dd7ee1a7af...
commit 1342b492e9166913d023318d038dd7ee1a7af664 Author: Cyril Hrubis metan@ucw.cz Date: Fri Jun 14 23:52:17 2013 +0200
build: check_symbols: Add loaders.
Loaders are separate library now, add symbol checks for them too.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/build/check_symbols.sh b/build/check_symbols.sh index a229912..a26b92c 100755 --- a/build/check_symbols.sh +++ b/build/check_symbols.sh @@ -53,8 +53,10 @@ function do_check
do_check libGP.so syms/Core_symbols.txt syms/Input_symbols.txt syms/Filters_symbols.txt syms/GFX_symbols.txt - syms/Loaders_symbols.txt syms/Text_symbols.txt + syms/Text_symbols.txt
do_check libGP_backends.so syms/Backend_symbols.txt
do_check libGP_grabbers.so syms/Grabbers_symbols.txt + +do_check libGP_loaders.so syms/Loaders_symbols.txt
http://repo.or.cz/w/gfxprim.git/commit/3ccc04bfd1972d26ef574696f69df38f0e3ca...
commit 3ccc04bfd1972d26ef574696f69df38f0e3cac3d Author: Cyril Hrubis metan@ucw.cz Date: Fri Jun 14 23:00:12 2013 +0200
demos: c_simple: blittest: Correct caption.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/demos/c_simple/blittest.c b/demos/c_simple/blittest.c index 57a11fa..9130b57 100644 --- a/demos/c_simple/blittest.c +++ b/demos/c_simple/blittest.c @@ -154,7 +154,7 @@ int main(void)
print_instructions(); - win = GP_BackendInit(backend_opts, "Line Test", stderr); + win = GP_BackendInit(backend_opts, "Blit Test", stderr);
if (win == NULL) { fprintf(stderr, "Failed to initalize backend '%s'n",
-----------------------------------------------------------------------
Summary of changes: build/check_symbols.sh | 4 +++- demos/c_simple/blittest.c | 11 ++++++++--- 2 files changed, 11 insertions(+), 4 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.