Fix compiling without OpenGL

This commit is contained in:
Szilárd Biró 2019-10-23 13:23:36 +02:00 committed by Christoph Oelckers
parent 0f67b74a53
commit c419fae31b

View file

@ -1342,6 +1342,10 @@ extern GrowArray<char *> g_defModules;
extern GrowArray<char *> g_clipMapFiles;
#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
// TODO: dynamically allocate this
@ -1361,9 +1365,6 @@ typedef struct
# 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 tile2model_t tile2model[MAXTILES+EXTRATILES];