Skip to content

Commit 374c9d4

Browse files
committed
Fix staticcheck
1 parent 5533009 commit 374c9d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func init() {
3131
var frame = 0
3232

3333
func runLoop(vid *video.Video, m *menu.Menu) {
34-
currTime := time.Now()
34+
var currTime time.Time
3535
prevTime := time.Now()
3636
for !vid.Window.ShouldClose() {
3737
currTime = time.Now()

video/video.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ func (video *Video) Configure(fullscreen bool) {
9393
width = vm.Width
9494
height = vm.Height
9595
} else {
96-
width = 320 * 3
97-
height = 180 * 3
96+
width = 384 * 2
97+
height = 240 * 2
9898
}
9999

100100
var err error

0 commit comments

Comments
 (0)