Skip to content

Commit

Permalink
Fix staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
kivutar committed Aug 1, 2022
1 parent 5533009 commit 374c9d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
var frame = 0

func runLoop(vid *video.Video, m *menu.Menu) {
currTime := time.Now()
var currTime time.Time
prevTime := time.Now()
for !vid.Window.ShouldClose() {
currTime = time.Now()
Expand Down
4 changes: 2 additions & 2 deletions video/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ func (video *Video) Configure(fullscreen bool) {
width = vm.Width
height = vm.Height
} else {
width = 320 * 3
height = 180 * 3
width = 384 * 2
height = 240 * 2
}

var err error
Expand Down

0 comments on commit 374c9d4

Please sign in to comment.