summaryrefslogtreecommitdiff
path: root/games-fps/eduke32/files/fix-build-transpal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/eduke32/files/fix-build-transpal.patch')
-rw-r--r--games-fps/eduke32/files/fix-build-transpal.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/games-fps/eduke32/files/fix-build-transpal.patch b/games-fps/eduke32/files/fix-build-transpal.patch
deleted file mode 100644
index 3c22bc405507..000000000000
--- a/games-fps/eduke32/files/fix-build-transpal.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/source/tools/src/transpal.cpp 2017-02-01 11:01:11.000000000 +0100
-+++ b/source/tools/src/transpal.cpp 2018-05-11 00:06:37.329712454 +0200
-@@ -26,7 +26,7 @@
- r = ((ptr[0]*t+32768)>>16);
- g = ((ptr[1]*t+32768)>>16);
- b = ((ptr[2]*t+32768)>>16);
-- return(getclosestcol(r,g,b));
-+ return(paletteGetClosestColor(r,g,b));
- }
-
- static char gettrans(char dat1, char dat2, int datransratio)
-@@ -39,7 +39,7 @@
- r = ptr[0]; r += (((ptr2[0]-r)*datransratio+128)>>8);
- g = ptr[1]; g += (((ptr2[1]-g)*datransratio+128)>>8);
- b = ptr[2]; b += (((ptr2[2]-b)*datransratio+128)>>8);
-- return(getclosestcol(r,g,b));
-+ return(paletteGetClosestColor(r,g,b));
- }
-
- int main(int argc, char **argv)