mirror of
https://github.com/UberGames/ioef.git
synced 2025-05-31 01:11:01 +00:00
* Compile time and runtime checks for SDL >= 1.2.7
* Modified versioning to play nice with the reverted Makefile change
This commit is contained in:
parent
d5e9f1216e
commit
e56a151a97
4 changed files with 58 additions and 15 deletions
|
@ -22,6 +22,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#include "SDL.h"
|
||||
|
||||
#if !SDL_VERSION_ATLEAST(1, 2, 10)
|
||||
#define SDL_GL_ACCELERATED_VISUAL 15
|
||||
#define SDL_GL_SWAP_CONTROL 16
|
||||
#elif MINSDL_PATCH >= 10
|
||||
#error Code block no longer necessary, please remove
|
||||
#endif
|
||||
|
||||
#ifdef SMP
|
||||
#include "SDL_thread.h"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue