Skip to content

Commit

Permalink
sdl: Update documentation links to remove TODO marks on pages that ex…
Browse files Browse the repository at this point in the history
…ist and fix a typo

Signed-off-by: Lilis Iskandar <[email protected]>
  • Loading branch information
veeableful committed May 11, 2024
1 parent 66f8ad7 commit e709f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdl/audio.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ func (stream *AudioStream) Clear() {
}

// Free frees the audio stream
// TODO: (https://wiki.libsdl.org/SDL_AudoiStreamFree)
// TODO: (https://wiki.libsdl.org/SDL_AudioStreamFree)
func (stream *AudioStream) Free() {
C.SDL_FreeAudioStream(stream.cptr())
}
Expand Down
4 changes: 2 additions & 2 deletions sdl/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ type DisplayEvent struct {
Type EventType // the event type
Timestamp uint32 // timestamp of the event
Display uint32 // the associated display index
Event uint8 // TODO: (https://wiki.libsdl.org/SDL_DisplayEventID)
Event uint8 // event subtype for display events (https://wiki.libsdl.org/SDL_DisplayEventID)
Data1 int32 // event dependent data
}

Expand Down Expand Up @@ -775,7 +775,7 @@ func (e ControllerDeviceEvent) GetTimestamp() uint32 {
}

// ControllerSensorEvent contains data from sensors such as accelerometer and gyroscope
// (TODO: https://wiki.libsdl.org/SDL_ControllerSensorEvent)
// (https://wiki.libsdl.org/SDL_ControllerSensorEvent)
type ControllerSensorEvent struct {
Type EventType // SDL_CONTROLLERSENSORUPDATE
Timestamp uint32 // In milliseconds, populated using SDL_GetTicks()
Expand Down

0 comments on commit e709f5f

Please sign in to comment.