summaryrefslogtreecommitdiff
path: root/games/trackballs/patches/abs.diff
blob: 597971906d65d17d89e927353f7dbe4e303e8290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur trackballs-1.1.4/src/glHelp.cc trackballs-1.1.4.patched/src/glHelp.cc
--- trackballs-1.1.4/src/glHelp.cc	2007-04-07 09:15:09.000000000 -0400
+++ trackballs-1.1.4.patched/src/glHelp.cc	2017-06-21 11:58:32.035646783 -0400
@@ -129,7 +129,6 @@
   // why is this removed? should it not be done???
   glDeleteTextures(1,&texture);  
 }
-inline Real abs(Real v) {return v>0.0?v:-v;}
 double mousePointerPhase=0.0;
 
 void tickMouse(Real td) {
diff -Naur trackballs-1.1.4/src/menuMode.cc trackballs-1.1.4.patched/src/menuMode.cc
--- trackballs-1.1.4/src/menuMode.cc	2007-04-07 09:16:26.000000000 -0400
+++ trackballs-1.1.4.patched/src/menuMode.cc	2017-06-21 11:58:36.201646790 -0400
@@ -163,7 +163,6 @@
   case MENU_EDITOR: GameMode::activate(EditMode::editMode); break;
   }
 }
-inline Real abs(Real v) {return v>0.0?v:-v;}
 
 void MenuMode::idle(Real td) {
   int w,h,i,x,y;