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 bb3d38ce1cc2b6877b7bc70344a91a01fcbfdbb5 (commit) from 050cbfbf2c0d6aec3c941a20c6ea16d467a72751 (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/bb3d38ce1cc2b6877b7bc70344a91a01fcbfd...
commit bb3d38ce1cc2b6877b7bc70344a91a01fcbfdbb5 Author: Cyril Hrubis metan@ucw.cz Date: Fri Jun 14 19:37:50 2013 +0200
backends: Linux FB: Fix div by zero.
This backend wasn't converted to the new InputQueue(). (The GP_EventQueueInit() was not added)
Which caused div by zero in put_event() in InputQueue code.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/libs/backends/GP_LinuxFB.c b/libs/backends/GP_LinuxFB.c index 54516d9..b203109 100644 --- a/libs/backends/GP_LinuxFB.c +++ b/libs/backends/GP_LinuxFB.c @@ -314,6 +314,8 @@ GP_Backend *GP_BackendLinuxFBInit(const char *path, int flag) backend->Wait = flag ? fb_wait : NULL; backend->fd = fb->con_fd;
+ GP_EventQueueInit(&backend->event_queue, vscri.xres, vscri.yres, 0); + return backend; err3: close(fd);
-----------------------------------------------------------------------
Summary of changes: libs/backends/GP_LinuxFB.c | 2 ++ 1 files changed, 2 insertions(+), 0 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.