Commit 553a7eca authored by nukeykt's avatar nukeykt

Engine: Disable classic hightile in no gl builds to workaround compile errors

parent 123df13d
......@@ -202,6 +202,7 @@ classicht_t classicht[MAXTILES];
classicht_t *classic_hightile(int dapicnum)
{
#ifdef USE_OPENGL
classicht_t *cht = &classicht[dapicnum];
hicreplctyp *si = usehightile ? hicfindsubst(dapicnum, 0, 0) : NULL;
if (!si || !(si->flags & HICR_INDEXED))
......@@ -275,6 +276,9 @@ classicht_t *classic_hightile(int dapicnum)
cht->lock = CACHE1D_UNLOCKED;
return cht;
#else
return NULL;
#endif
}
static classicht_t *globalht;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment