Skip to content

Commit

Permalink
sdl: events: add stub function for SDL_AudioDeviceEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
malashin committed Nov 21, 2017
1 parent 27e36e0 commit d3d0a1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdl/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ package sdl
#pragma message("SDL_RENDER_DEVICE_RESET is not supported before SDL 2.0.4")
#define SDL_RENDER_DEVICE_RESET (0)
#pragma message("SDL_AudioDeviceEvent is not supported before SDL 2.0.4")
#define SDL_AudioDeviceEvent (SDL_CommonEvent)
#endif
*/
import "C"
Expand Down

0 comments on commit d3d0a1f

Please sign in to comment.