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 b1fbf0820773aebe6c2c0d79d5ea71417e3ec754 (commit) from 6b41a423d6fe40825bbd57f9900df5c767d30e11 (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/b1fbf0820773aebe6c2c0d79d5ea71417e3ec...
commit b1fbf0820773aebe6c2c0d79d5ea71417e3ec754 Author: Cyril Hrubis metan@ucw.cz Date: Sun Jan 27 15:10:29 2013 +0100
backends: SDL: Add resize event notification.
diff --git a/libs/backends/GP_SDL.c b/libs/backends/GP_SDL.c index d3afcca..951511f 100644 --- a/libs/backends/GP_SDL.c +++ b/libs/backends/GP_SDL.c @@ -19,7 +19,7 @@ * Copyright (C) 2009-2010 Jiri "BlueBear" Dluhos * * jiri.bluebear.dluhos@gmail.com * * * - * Copyright (C) 2009-2012 Cyril Hrubis metan@ucw.cz * + * Copyright (C) 2009-2013 Cyril Hrubis metan@ucw.cz * * * *****************************************************************************/
@@ -30,6 +30,7 @@ #ifdef HAVE_LIBSDL
#include "input/GP_InputDriverSDL.h" +#include "input/GP_Input.h" #include "GP_Backend.h" #include "GP_SDL.h"
@@ -149,6 +150,9 @@ static int sdl_set_attributes(struct GP_Backend *self __attribute__((unused)), if (w != 0 && h != 0) { sdl_surface = SDL_SetVideoMode(w, h, 0, sdl_flags); context_from_surface(&context, sdl_surface); + + /* Send event that resize was finished */ + GP_EventPushResize(w, h, NULL); }
SDL_mutexV(mutex);
-----------------------------------------------------------------------
Summary of changes: libs/backends/GP_SDL.c | 6 +++++- 1 files changed, 5 insertions(+), 1 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.