adding Big Sur update fix
see #19111 (include linking against QuartzCore which contains the kCAContentsFormatRGBA8Uint reference)
This commit is contained in:
@@ -9,4 +9,4 @@ GCC_VERSION =
|
|||||||
|
|
||||||
ARCHS = i386 x86_64
|
ARCHS = i386 x86_64
|
||||||
|
|
||||||
OTHER_LDFLAGS = -framework WebKit -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework OpenGL -framework AVFoundation -framework CoreMedia -framework Security -weak_framework AVKit
|
OTHER_LDFLAGS = -framework WebKit -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework OpenGL -framework AVFoundation -framework CoreMedia -framework Security -framework QuartzCore -weak_framework AVKit
|
||||||
|
2
configure
vendored
2
configure
vendored
@@ -38269,7 +38269,7 @@ if test "$wxUSE_MAC" = 1 ; then
|
|||||||
if test "$wxUSE_OSX_IPHONE" = 1; then
|
if test "$wxUSE_OSX_IPHONE" = 1; then
|
||||||
EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore -framework GLKit -framework CoreText"
|
EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore -framework GLKit -framework CoreText"
|
||||||
else
|
else
|
||||||
EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
|
EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework QuartzCore -framework AudioToolbox -framework System -framework OpenGL"
|
||||||
|
|
||||||
if test "$wxUSE_MEDIACTRL" = "yes"; then
|
if test "$wxUSE_MEDIACTRL" = "yes"; then
|
||||||
|
|
||||||
|
@@ -8008,7 +8008,7 @@ if test "$wxUSE_MAC" = 1 ; then
|
|||||||
if test "$wxUSE_OSX_IPHONE" = 1; then
|
if test "$wxUSE_OSX_IPHONE" = 1; then
|
||||||
EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore -framework GLKit -framework CoreText"
|
EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore -framework GLKit -framework CoreText"
|
||||||
else
|
else
|
||||||
EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
|
EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework QuartzCore -framework AudioToolbox -framework System -framework OpenGL"
|
||||||
|
|
||||||
dnl The case of QuickTime framework is special: with Cocoa, we only
|
dnl The case of QuickTime framework is special: with Cocoa, we only
|
||||||
dnl need it in 32 bit builds and not in 64 bit and, moreover,
|
dnl need it in 32 bit builds and not in 64 bit and, moreover,
|
||||||
|
@@ -884,6 +884,17 @@ static void SetDrawingEnabledIfFrozenRecursive(wxWidgetCocoaImpl *impl, bool ena
|
|||||||
[super viewDidMoveToWindow];
|
[super viewDidMoveToWindow];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void) viewWillDraw
|
||||||
|
{
|
||||||
|
if ( WX_IS_MACOS_AVAILABLE(11, 0) )
|
||||||
|
{
|
||||||
|
CALayer* layer = self.layer;
|
||||||
|
layer.contentsFormat = kCAContentsFormatRGBA8Uint;
|
||||||
|
}
|
||||||
|
|
||||||
|
[super viewWillDraw];
|
||||||
|
}
|
||||||
|
|
||||||
@end // wxNSView
|
@end // wxNSView
|
||||||
|
|
||||||
// We need to adopt NSTextInputClient protocol in order to interpretKeyEvents: to work.
|
// We need to adopt NSTextInputClient protocol in order to interpretKeyEvents: to work.
|
||||||
|
Reference in New Issue
Block a user