Skip to content

Commit

Permalink
Merge pull request #25 from AdaEngine/xcode15.2_compile_errors
Browse files Browse the repository at this point in the history
fix xcode 15.2 old api parameters errors
  • Loading branch information
SpectralDragon committed May 9, 2024
2 parents 6a91ee0 + 45e1faa commit 27136a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ final class MacApplication: Application {
func processEvents() {
while true {
let event = NSApp.nextEvent(
matchingMask: .any,
matching: .any,
until: .distantPast,
inMode: .default,
dequeue: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ final class MacOSWindowManager: WindowManager {
hasAlpha: true,
isPlanar: false,
colorSpaceName: .deviceRGB,
bitmapFormat: NSBitmapFormat(),
bitmapFormat: NSBitmapImageRep.Format(),
bytesPerRow: texture.width * 4,
bitsPerPixel: 32
) else {
Expand Down

0 comments on commit 27136a5

Please sign in to comment.