mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30: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;
|
||||
#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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue