File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,18 +73,18 @@ internal extension SDLPixelFormat.Format {
73
73
public extension SDLPixelFormat . Format {
74
74
75
75
/// SDL_PIXELFORMAT_INDEX1LSB
76
- static let index1LSB = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_INDEX1LSB) )
76
+ static let index1LSB = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_INDEX1LSB . rawValue ) )
77
77
78
78
/// SDL_PIXELFORMAT_INDEX1MSB
79
- static let index1MSB = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_INDEX1MSB) )
79
+ static let index1MSB = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_INDEX1MSB . rawValue ) )
80
80
81
81
#if os(macOS)
82
82
/// SDL_PIXELFORMAT_ARGB32
83
- static let argb32 = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_ARGB32) )
83
+ static let argb32 = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_ARGB32 . rawValue ) )
84
84
#endif
85
85
86
86
/// SDL_PIXELFORMAT_ARGB8888
87
- static let argb8888 = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_ARGB8888) )
87
+ static let argb8888 = SDLPixelFormat . Format ( rawValue: UInt32 ( SDL_PIXELFORMAT_ARGB8888 . rawValue ) )
88
88
}
89
89
90
90
// MARK: - ExpressibleByIntegerLiteral
You can’t perform that action at this time.
0 commit comments