Patched to compile on Mac OS X 10.8 SDK.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 08 Aug 2012 13:44:58 -0400
changeset 6388 470bc1333b09
parent 6387 58f0fb54bf88
child 6389 43a190ad60a7
Patched to compile on Mac OS X 10.8 SDK.
src/video/cocoa/SDL_cocoamodes.m
--- a/src/video/cocoa/SDL_cocoamodes.m	Sat Aug 04 00:01:34 2012 -0400
+++ b/src/video/cocoa/SDL_cocoamodes.m	Wed Aug 08 13:44:58 2012 -0400
@@ -102,9 +102,6 @@
     case kCGErrorCannotComplete:
         error = "kCGErrorCannotComplete";
         break;
-    case kCGErrorNameTooLong:
-        error = "kCGErrorNameTooLong";
-        break;
     case kCGErrorNotImplemented:
         error = "kCGErrorNotImplemented";
         break;
@@ -114,9 +111,6 @@
     case kCGErrorTypeCheck:
         error = "kCGErrorTypeCheck";
         break;
-    case kCGErrorNoCurrentPoint:
-        error = "kCGErrorNoCurrentPoint";
-        break;
     case kCGErrorInvalidOperation:
         error = "kCGErrorInvalidOperation";
         break;