Add SDL backend

This commit is contained in:
Milan Nikolic 2023-11-04 13:08:38 +01:00
parent 15fba7e9ac
commit af9daf8452
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
24 changed files with 6485 additions and 89 deletions

View file

@ -14,7 +14,7 @@ func SetGesturesEnabled(gestureFlags uint32) {
// IsGestureDetected - Check if a gesture have been detected
func IsGestureDetected(gesture Gestures) bool {
cgesture := (C.int)(gesture)
cgesture := (C.uint)(gesture)
ret := C.IsGestureDetected(cgesture)
v := bool(ret)
return v