aboutsummaryrefslogtreecommitdiff
path: root/src/textures.c
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2018-04-07 22:29:53 +0200
committerAhmad Fatoum <ahmad@a3f.at>2018-04-07 23:37:48 +0200
commit1841afad11892bab16976b976d69b7757b617c8b (patch)
tree865273c4b5a0e5574ef09f25f1f3320eafd794d9 /src/textures.c
parentd88523f03abcf396a8a8198503285bc231828c81 (diff)
downloadraylib-1841afad11892bab16976b976d69b7757b617c8b.tar.gz
raylib-1841afad11892bab16976b976d69b7757b617c8b.zip
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).
Diffstat (limited to 'src/textures.c')
-rw-r--r--src/textures.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/textures.c b/src/textures.c
index 8a562887..43453f73 100644
--- a/src/textures.c
+++ b/src/textures.c
@@ -52,17 +52,7 @@
* 3. This notice may not be removed or altered from any source distribution.
*
**********************************************************************************************/
-
-// Default configuration flags (supported features)
-//-------------------------------------------------
-#define SUPPORT_FILEFORMAT_PNG
-#define SUPPORT_FILEFORMAT_DDS
-#define SUPPORT_FILEFORMAT_HDR
-#define SUPPORT_FILEFORMAT_KTX
-#define SUPPORT_FILEFORMAT_ASTC
-#define SUPPORT_IMAGE_MANIPULATION
-#define SUPPORT_IMAGE_GENERATION
-//-------------------------------------------------
+#include "config.h"
#include "raylib.h"