Skip to content

Commit

Permalink
Update renderer.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jossse69 committed Mar 20, 2024
1 parent 51cf764 commit 74dae2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (r *Renderer) DrawOnScreen() {
rl.DrawTexturePro(
r.Target.Texture,
rl.NewRectangle(0, 0, gameWidth, gameHeight),
rl.NewRectangle(0, -gameHeight*gameHeightScale, gameWidth*gameWidthScale, gameHeight*gameHeightScale),
rl.NewRectangle(0, gameHeightScale*screenHeight, gameWidth*gameWidthScale, gameHeight*gameHeightScale),
rl.NewVector2(0, 0),
0,
rl.White,
Expand Down

0 comments on commit 74dae2b

Please sign in to comment.