Procházet zdrojové kódy

Avoid config.h in standalone mode

pull/579/head
Ray před 7 roky
rodič
revize
103044926b
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. +6
    -1
      src/rlgl.h

+ 6
- 1
src/rlgl.h Zobrazit soubor

@ -520,7 +520,12 @@ int GetPixelDataSize(int width, int height, int format);// Get pixel data size i
#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 <stdlib.h> // Required for: malloc(), free(), rand()

Načítá se…
Zrušit
Uložit