mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 18:32:49 +01:00
tested draw.Line
This commit is contained in:
@@ -4,6 +4,6 @@ import (
|
||||
"github.com/veandco/go-sdl2/sdl"
|
||||
)
|
||||
|
||||
func Rect(top ,left, width,height int32) sdl.Rect {
|
||||
return sdl.Rect{top,left,width,height}
|
||||
func Rect(top ,left, width,height int) sdl.Rect {
|
||||
return sdl.Rect{int32(top),int32(left),int32(width),int32(height)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user