summaryrefslogtreecommitdiff
path: root/src/post/goom/goom_tools.h
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-01-28 21:57:30 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-01-28 21:57:30 +0000
commit699cd1ced66dc1ae4b72afc45352c486b9a6a7b1 (patch)
tree3ddaa4de359986c0a49fee6615669148f45146fe /src/post/goom/goom_tools.h
parentf56a12a85f48a02880ed1d073567d2d2c3e8bddb (diff)
downloadxine-lib-699cd1ced66dc1ae4b72afc45352c486b9a6a7b1.tar.gz
xine-lib-699cd1ced66dc1ae4b72afc45352c486b9a6a7b1.tar.bz2
- Patch from Jeff Smith (remove warnings)
- Last ppc asm code from Guillaume Borios (not used yet) - Add callbacks to config entries. Each change takes effect immediately (including resolution and fps) ;) CVS patchset: 4026 CVS date: 2003/01/28 21:57:30
Diffstat (limited to 'src/post/goom/goom_tools.h')
-rw-r--r--src/post/goom/goom_tools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post/goom/goom_tools.h b/src/post/goom/goom_tools.h
index 9ed16d6fc..2bd74b95b 100644
--- a/src/post/goom/goom_tools.h
+++ b/src/post/goom/goom_tools.h
@@ -16,7 +16,7 @@ extern unsigned short rand_pos;
rand_tab [rand_pos++] = rand () ;
#define RAND()\
- (rand_tab[rand_pos = rand_pos + 1])
+ (rand_tab[rand_pos = (rand_pos + 1) % NB_RAND])
#define RAND_CLOSE()\
free (rand_tab);\