浏览代码

Avoid config.h in standalone mode

pull/579/head
Ray 7 年前
父节点
当前提交
103044926b
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      src/rlgl.h

+ 6
- 1
src/rlgl.h 查看文件

@ -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()

正在加载...
取消
保存