Skip to content

Commit dacf2da

Browse files
committed
Fix Linux build by importing OpenCoreGraphicsShims for CG types
1 parent 11ee0d0 commit dacf2da

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Sources/OpenRenderBox/Render/ORBDisplayList.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#if !canImport(ObjectiveC)
99
public import Foundation
10+
public import OpenCoreGraphicsShims
1011

1112
public final class ORBDisplayList: NSObject, ORBDisplayListContents {
1213
// MARK: - Properties

Sources/OpenRenderBox/Render/ORBDisplayListContents.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#if !canImport(ObjectiveC)
77
public import Foundation
8+
public import OpenCoreGraphicsShims
89

910
public protocol ORBDisplayListContents: AnyObject {
1011
var empty: Bool { get }

Sources/OpenRenderBox/Render/ORBDisplayListInterpolator.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#if !canImport(ObjectiveC)
77
public import Foundation
8+
public import OpenCoreGraphicsShims
89

910
public class ORBDisplayListInterpolator: NSObject {
1011
// MARK: - Properties

0 commit comments

Comments
 (0)