mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 11:18:15 +00:00
Avoid config.h in standalone mode
This commit is contained in:
@@ -520,7 +520,12 @@ int GetPixelDataSize(int width, int height, int format);// Get pixel data size i
|
|||||||
|
|
||||||
#if defined(RLGL_IMPLEMENTATION)
|
#if defined(RLGL_IMPLEMENTATION)
|
||||||
|
|
||||||
#include "config.h"
|
#if defined(RLGL_STANDALONE)
|
||||||
|
#define SUPPORT_VR_SIMULATOR
|
||||||
|
#define SUPPORT_DISTORTION_SHADER
|
||||||
|
#else
|
||||||
|
#include "config.h" // rlgl module configuration
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h> // Required for: fopen(), fclose(), fread()... [Used only on LoadText()]
|
#include <stdio.h> // Required for: fopen(), fclose(), fread()... [Used only on LoadText()]
|
||||||
#include <stdlib.h> // Required for: malloc(), free(), rand()
|
#include <stdlib.h> // Required for: malloc(), free(), rand()
|
||||||
|
Reference in New Issue
Block a user