-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of trying to link SDL2 portably at compile time, which requires the help of CMake and leads to a bunch of ugly #ifdef gunk, we now look for a shared library at runtime, and load only the symbols we actually need. A mostly gutted set of SDL headers is included, purely to provide a few types for more ergonomic use of the SDL2 API. This bloats the source tree by about ~160K unfortunately.
- Loading branch information
Showing
22 changed files
with
3,693 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.