compile fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3609 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2010-10-02 10:39:55 +00:00
parent 789197f58f
commit cfde45d9fc
2 changed files with 4 additions and 5 deletions

View file

@ -156,13 +156,14 @@ typedef union {
void *ptr;
#endif
} texid_t;
enum uploadfmt;
typedef struct rendererinfo_s {
char *description;
char *name[4];
r_qrenderer_t rtype;
mpic_t *(*Draw_SafePicFromWad) (char *name);
mpic_t *(*Draw_SafePicFromWad) (char *name);
mpic_t *(*Draw_SafeCachePic) (char *path);
void (*Draw_Init) (void);
void (*Draw_Shutdown) (void);

View file

@ -458,10 +458,6 @@ void GL_SelectVBO(int vbo)
}
void GL_SelectEBO(int vbo)
{
extern cvar_t temp1;
if (temp1.ival && shaderstate.meshcount != 1)
vbo = 0;
#ifndef FORCESTATE
if (shaderstate.currentebo != vbo)
#endif
@ -1896,6 +1892,7 @@ static void BE_SubmitMeshChain(void)
int m;
mesh_t *mesh;
#if 0
if (!shaderstate.currentebo)
{
if (shaderstate.meshcount == 1)
@ -1937,6 +1934,7 @@ static void BE_SubmitMeshChain(void)
return;
}
#endif
/*
if (qglLockArraysEXT)