Merge pull request #18 from whyrusleeping/master

Some more functions implemented and a few fixes
Changed API for DrawPoints, DrawLines, DrawRects, FillRects

Signed-off-by: Jacky Boen <aqiank@gmail.com>
Another API tweak for DrawPoints, DrawLines, DrawRects, FillRects

Signed-off-by: Jacky Boen <aqiank@gmail.com>
go fmt everywhere, all calls to C.CString are followed by a defer C.free
Merge pull request #19 from krux02/master

go fmt everywhere, all calls to C.CString are followed by a defer C.free
Added an OpenGL3 example

Signed-off-by: Jacky Boen <aqiank@gmail.com>
- provide the proper compiler and linker arguments on Linux and FreeBSD using
  pkg-config
- add sdl.GetSystemRAM() and sdl.HasAVX() from SDL 2.0.1 and SDL 2.0.2
Merge pull request #20 from marcusva/master

provide the proper compiler and linker arguments on Linux and FreeBSD using pkg-config
Added new contributors

Signed-off-by: Jacky Boen <aqiank@gmail.com>
- do not use SDL_free() on C.CString() items that were allocated by go's own
  memory management routines, since SDL_malloc() and SDL_free() might use an
  own memory manager (dlmalloc), if malloc() is not available on the target
  platform, the SDL2 library was built for
Merge pull request #21 from marcusva/master

Do not use SDL_free() on C.CString() items
- added wrappers for SDL_GetHint(), SDL_SetHint(), SDL_ClearHints() and
  SDL_SetHintWithPriority()
Merge pull request #22 from marcusva/master

Wrapped parts of SDL_hints.h
changed a little bit of api
Merge pull request #24 from krux02/master

changed a little bit of api
Fixed: Completely fails to compile when SDL_GetSystemRAM() and SDL_HasAVX()
       are missing on SDL 2.0.1 and 2.0.2 respectively.

Signed-off-by: Jacky Boen <aqiank@gmail.com>
Added SDL2 packages installation command for Ubuntu (and a few tweaks) in README

Signed-off-by: Jacky Boen <aqiank@gmail.com>
- Added tests for Init(), WasInit(), InitSubSystem() and QuitSubSystem()
- Added wrappers for SDL_GetBasePath() and SDL_GetPrefPath()