summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-02-12 14:31:33 +0000
committerbjarni <bjarni@openttd.org>2006-02-12 14:31:33 +0000
commit235e72829e55cbb1e7632fe1b2d1429f6f3be054 (patch)
tree69d0102238a85f5bd3d34ca4d93e1973a70ab771 /video
parent8cf72cdcabcf95da90dc152cb9459b94f4ff7041 (diff)
downloadopenttd-235e72829e55cbb1e7632fe1b2d1429f6f3be054.tar.xz
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
This increases the execution speed a lot since GCC can't detect the OTTD macro as an endian conversion while Apple's code uses the instruction to convert endian instead of a series of instructions to produce the same result Since we don't have that many endian conversions in the game, overall performance should not increase noteworthy
Diffstat (limited to 'video')
-rw-r--r--video/cocoa_v.m3
1 files changed, 0 insertions, 3 deletions
diff --git a/video/cocoa_v.m b/video/cocoa_v.m
index ed996bddd..7d6fd8b38 100644
--- a/video/cocoa_v.m
+++ b/video/cocoa_v.m
@@ -36,9 +36,6 @@ extern void HideMenuBar(void);
#endif
-/* Name conflict */
-#define Rect OTTDRect
-#define Point OTTDPoint
/* Defined in ppc/param.h or i386/param.h included from sys/param.h */
#undef ALIGN
/* Defined in stdbool.h */