Fix USE_OPENGL=0 build.

git-svn-id: https://svn.eduke32.com/eduke32@6361 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-07-15 21:56:17 +00:00
parent 1b1fd9e0eb
commit f01c9205e9
2 changed files with 4 additions and 2 deletions

View file

@ -1257,6 +1257,8 @@ int32_t polymost_drawtilescreen(int32_t tilex, int32_t tiley, int32_t wallnum, i
void polymost_glreset(void);
void polymost_precache(int32_t dapicnum, int32_t dapalnum, int32_t datype);
typedef uint16_t polytintflags_t;
#ifdef USE_OPENGL
extern int32_t glanisotropy;
extern int32_t glusetexcompr;
@ -1295,7 +1297,6 @@ extern int32_t glrendmode;
#endif
void hicinit(void);
typedef uint16_t polytintflags_t;
void hicsetpalettetint(int32_t palnum, char r, char g, char b, polytintflags_t effect);
// flags bitset: 1 = don't compress
int32_t hicsetsubsttex(int32_t picnum, int32_t palnum, const char *filen, float alphacut,

View file

@ -4,9 +4,10 @@
* See the included license file "BUILDLIC.TXT" for license info.
*/
#include "build.h"
#ifdef USE_OPENGL
#include "build.h"
#include "compat.h"
#include "kplib.h"
#include "hightile.h"