Unreviewed, attempt to fix the iOSMac build after r236015.
authorryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Sep 2018 20:36:45 +0000 (20:36 +0000)
committerryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Sep 2018 20:36:45 +0000 (20:36 +0000)
* platform/graphics/cv/PixelBufferResizer.mm:
(WebCore::PixelBufferResizer::PixelBufferResizer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236017 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cv/PixelBufferResizer.mm

index 35db68d..44a7cfc 100644 (file)
@@ -1,3 +1,10 @@
+2018-09-14  Ryan Haddad  <ryanhaddad@apple.com>
+
+        Unreviewed, attempt to fix the iOSMac build after r236015.
+
+        * platform/graphics/cv/PixelBufferResizer.mm:
+        (WebCore::PixelBufferResizer::PixelBufferResizer):
+
 2018-09-11  Simon Fraser  <simon.fraser@apple.com>
 
         Make GraphicsLayers ref-counted, so their tree can persist when disconnected from RenderLayerBackings
index a53ab1a..9401844 100644 (file)
@@ -48,7 +48,7 @@ PixelBufferResizer::PixelBufferResizer(IntSize size, OSType videoFormat)
         (__bridge NSString *)kCVPixelBufferWidthKey :@(size.width()),
         (__bridge NSString *)kCVPixelBufferHeightKey:@(size.height()),
         (__bridge NSString *)kCVPixelBufferPixelFormatTypeKey:@(videoFormat),
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && !PLATFORM(IOSMAC)
         (__bridge NSString *)kCVPixelFormatOpenGLESCompatibility : @(YES),
 #else
         (__bridge NSString *)kCVPixelBufferOpenGLCompatibilityKey : @(YES),