Skip to content

Commit

Permalink
Using all dimensions in 'var largestVisible: CGRect' (TexureRect.swift)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed Dec 29, 2024
1 parent fc4c222 commit 869af7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/Metal/TextureRect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extension Canvas {
let y1 = Constants.vblank_cnt
let y2 = pal ? Constants.vpos_cnt_pal : Constants.vpos_cnt_ntsc

return CGRect(x: x1, y: y1, width: x2 - x1, height: y2 - y1 - 1)
return CGRect(x: x1, y: y1, width: x2 - x1, height: y2 - y1)
}

var largestVisibleNormalized: CGRect {
Expand Down

0 comments on commit 869af7d

Please sign in to comment.