diff options
Diffstat (limited to 'games/tenebrae/files/patch-gl_vidlinuxglx.c')
-rw-r--r-- | games/tenebrae/files/patch-gl_vidlinuxglx.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/tenebrae/files/patch-gl_vidlinuxglx.c b/games/tenebrae/files/patch-gl_vidlinuxglx.c new file mode 100644 index 000000000000..f98a7cbefac9 --- /dev/null +++ b/games/tenebrae/files/patch-gl_vidlinuxglx.c @@ -0,0 +1,19 @@ +--- ./gl_vidlinuxglx.c.orig Sat Jun 10 12:08:13 2006 ++++ ./gl_vidlinuxglx.c Sat Jun 10 12:08:13 2006 +@@ -20,7 +20,6 @@ + #include <termios.h> + #include <sys/ioctl.h> + #include <sys/stat.h> +-#include <sys/vt.h> + #include <stdarg.h> + #include <stdio.h> + #include <signal.h> +@@ -339,8 +338,6 @@ + { + mx += ((int)event.xmotion.x - mwx) * 2; + my += ((int)event.xmotion.y - mwy) * 2; +- mwx = event.xmotion.x; +- mwy = event.xmotion.y; + + if (mx || my) + dowarp = true; |