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 dcc74ee0d1808272efbf16ebb9a3d6dfaa20ff26 (commit) from 4b5f8e14db9cd157d1b3b616726b1c9fb1b3c9b5 (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/dcc74ee0d1808272efbf16ebb9a3d6dfaa20f...
commit dcc74ee0d1808272efbf16ebb9a3d6dfaa20ff26 Author: Cyril Hrubis metan@ucw.cz Date: Sat May 26 20:54:43 2012 +0200
backends: Print error when initalizing not-compiled-in backend.
diff --git a/libs/backends/GP_SDL.c b/libs/backends/GP_SDL.c index fcc0df7..5705eec 100644 --- a/libs/backends/GP_SDL.c +++ b/libs/backends/GP_SDL.c @@ -25,9 +25,10 @@
#include "../../config.h"
+#include "core/GP_Debug.h" + #ifdef HAVE_LIBSDL
-#include "core/GP_Debug.h" #include "input/GP_InputDriverSDL.h" #include "GP_Backend.h" #include "GP_SDL.h" @@ -208,6 +209,7 @@ GP_Backend *GP_BackendSDLInit(GP_Size w __attribute__((unused)), uint8_t flags __attribute__((unused)), const char *caption __attribute__((unused))) { + GP_DEBUG(0, "FATAL: SDL support not compiled in."); return NULL; }
diff --git a/libs/backends/GP_X11.c b/libs/backends/GP_X11.c index 3db2724..ffc7dca 100644 --- a/libs/backends/GP_X11.c +++ b/libs/backends/GP_X11.c @@ -22,12 +22,14 @@
#include "../../config.h"
+#include "core/GP_Debug.h" +#include "core/GP_Common.h" + #ifdef HAVE_LIBX11
#include <X11/Xlib.h> #include <X11/Xutil.h>
-#include "core/GP_Debug.h" #include "input/GP_InputDriverX11.h" #include "GP_X11.h"
@@ -375,10 +377,13 @@ err0:
#include "GP_Backend.h"
-GP_Backend *GP_BackendX11Init(const char *display, int x, int y, - unsigned int w, unsigned int h, - const char *caption) +GP_Backend *GP_BackendX11Init(const char *GP_UNUSED(display), + int GP_UNUSED(x), int GP_UNUSED(y), + unsigned int GP_UNUSED(w), + unsigned int GP_UNUSED(h), + const char *GP_UNUSED(caption)) { + GP_DEBUG(0, "FATAL: X11 support not compiled in"); return NULL; }
-----------------------------------------------------------------------
Summary of changes: libs/backends/GP_SDL.c | 4 +++- libs/backends/GP_X11.c | 13 +++++++++---- 2 files changed, 12 insertions(+), 5 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.