Skip to content

Commit

Permalink
Change writeScreen to use UInt16 data
Browse files Browse the repository at this point in the history
  • Loading branch information
Ines333 committed Apr 30, 2024
1 parent e870193 commit 1ca892e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,5 @@ func updateScreen(_ states: [[Int]]) {
}
}

screenBuffer.withUnsafeBytes {
screen.writeScreen($0)
}
screen.writeScreen(screenBuffer)
}
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ struct TicTacToeView {
}
}

screenBuffer.withUnsafeBytes { screen.writeScreen($0) }
screen.writeScreen(screenBuffer)
}
}

Expand Down

0 comments on commit 1ca892e

Please sign in to comment.