mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix compiling without OpenGL
This commit is contained in:
parent
0f67b74a53
commit
c419fae31b
1 changed files with 4 additions and 3 deletions
|
@ -1342,6 +1342,10 @@ extern GrowArray<char *> g_defModules;
|
||||||
extern GrowArray<char *> g_clipMapFiles;
|
extern GrowArray<char *> g_clipMapFiles;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
EXTERN intptr_t voxoff[MAXVOXELS][MAXVOXMIPS]; // used in KenBuild
|
||||||
|
EXTERN int8_t voxreserve[(MAXVOXELS+7)>>3];
|
||||||
|
EXTERN int8_t voxrotate[(MAXVOXELS+7)>>3];
|
||||||
|
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
// TODO: dynamically allocate this
|
// TODO: dynamically allocate this
|
||||||
|
|
||||||
|
@ -1361,9 +1365,6 @@ typedef struct
|
||||||
|
|
||||||
# define EXTRATILES (MAXTILES/8)
|
# define EXTRATILES (MAXTILES/8)
|
||||||
|
|
||||||
EXTERN intptr_t voxoff[MAXVOXELS][MAXVOXMIPS]; // used in KenBuild
|
|
||||||
EXTERN int8_t voxreserve[(MAXVOXELS+7)>>3];
|
|
||||||
EXTERN int8_t voxrotate[(MAXVOXELS+7)>>3];
|
|
||||||
EXTERN int32_t mdinited;
|
EXTERN int32_t mdinited;
|
||||||
EXTERN tile2model_t tile2model[MAXTILES+EXTRATILES];
|
EXTERN tile2model_t tile2model[MAXTILES+EXTRATILES];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue