mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix POLYMER=0 build and a couple of unused-variable warnings with it. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4764 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4e034e1331
commit
112d650843
2 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "glbuild.h"
|
||||
#include "hightile.h"
|
||||
#include "baselayer.h" // glinfo
|
||||
|
||||
typedef struct { uint8_t r, g, b, a; } coltype;
|
||||
|
||||
|
|
|
@ -85,8 +85,10 @@ static int32_t allocvbos = 0, curvbo = 0;
|
|||
static GLuint *vertvbos = NULL;
|
||||
static GLuint *indexvbos = NULL;
|
||||
|
||||
#ifdef POLYMER
|
||||
static int32_t *tribuf = NULL;
|
||||
static int32_t tribufverts = 0;
|
||||
#endif
|
||||
|
||||
static mdmodel_t *mdload(const char *);
|
||||
static void mdfree(mdmodel_t *);
|
||||
|
@ -143,7 +145,9 @@ void freeallmodels()
|
|||
}
|
||||
|
||||
md_freevbos();
|
||||
#ifdef POLYMER
|
||||
DO_FREE_AND_NULL(tribuf);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue