Skip to content

Commit

Permalink
Update skiko/src/awtMain/objectiveC/macos/DisplayLinkThrottler.mm
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Demin <[email protected]>
  • Loading branch information
elijah-semyonov and igordmn authored Jul 30, 2024
1 parent 2fe700f commit dbb19d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skiko/src/awtMain/objectiveC/macos/DisplayLinkThrottler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ - (void)updateDisplayLink {
// if display link is present, check if it's for the correct screen, avoid conversion shenanigans
int64_t displayLinkScreenID = _displayLinkScreenID;

if (displayLinkScreenID != currentScreenID) {
if (displayLinkScreenID != _currentScreenID) {
[self createDisplayLink];
}
} else {
Expand Down

0 comments on commit dbb19d2

Please sign in to comment.