diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-11-22 14:59:46 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-11-22 14:59:46 +0400 |
commit | d8958e02d28412cb7e246a6e31035a78884cbef5 (patch) | |
tree | 26c0188072bf4412348f6dbcf3a4043b30b8a131 /intern | |
parent | 449369adf3485c793862ca35bd65f86261c319c0 (diff) |
Fix #33185 by taking new sysctl hw.model into accont
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index e2361392b5f..47e1e1d8531 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -577,7 +577,8 @@ GHOST_SystemCocoa::GHOST_SystemCocoa() //Hack on MacBook revision, as multitouch avail. function missing if (strstr(rstring,"MacBookAir") || - (strstr(rstring,"MacBook") && (rstring[strlen(rstring)-3]>='5') && (rstring[strlen(rstring)-3]<='9'))) + (strstr(rstring,"MacBook") && (rstring[strlen(rstring)-3]>='5') && (rstring[strlen(rstring)-3]<='9')) || + (strstr(rstring,"MacBookPro") && (rstring[strlen(rstring)-3]>='10'))) // Retina Models m_hasMultiTouchTrackpad = true; else m_hasMultiTouchTrackpad = false; |