Skip to content

Commit

Permalink
comments!
Browse files Browse the repository at this point in the history
  • Loading branch information
felixangell committed Feb 25, 2018
1 parent 68f6d29 commit ed8004b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions renderer.go
Expand Up @@ -27,6 +27,8 @@ type RenderConfig struct {
VerticalSync bool
}

// DefaultConfig with all of the rendering options
// enabled.
func DefaultConfig() *RenderConfig {
return &RenderConfig{
Alias: true,
Expand Down
4 changes: 3 additions & 1 deletion time.go
Expand Up @@ -2,6 +2,8 @@ package strife

import "github.com/veandco/go-sdl2/sdl"

// dont use this! go has some nice
// utilities instead.
func CurrentTimeMillis() int64 {
return int64(sdl.GetTicks())
}
}

0 comments on commit ed8004b

Please sign in to comment.