Refactor all #define SUPPORT_* into a config.h

That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.

Later on, config.h can also define the raylib version (#461).
This commit is contained in:
Ahmad Fatoum 2018-04-07 22:29:53 +02:00
commit 1841afad11
No known key found for this signature in database
GPG key ID: C3EAC3DE9321D59B

View file

@ -54,11 +54,7 @@
*
**********************************************************************************************/
// Default configuration flags (supported features)
//-------------------------------------------------
#define SUPPORT_VR_SIMULATOR
#define SUPPORT_DISTORTION_SHADER
//-------------------------------------------------
#include "config.h"
#include "rlgl.h"