diff options
Diffstat (limited to 'source/gl_local.h')
-rw-r--r-- | source/gl_local.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/gl_local.h b/source/gl_local.h index 0c4cb78..f952786 100644 --- a/source/gl_local.h +++ b/source/gl_local.h @@ -44,7 +44,7 @@ typedef struct { qboolean registering; uint32 palette[256]; /* cinematic palette */ GLuint prog_warp, prog_light; - vec_t *vbo; + vec_t *vertices; } glStatic_t; typedef struct { @@ -333,10 +333,9 @@ qhandle_t R_RegisterPic( const char *name ); #define TESS_MAX_INDICES ( 3 * TESS_MAX_VERTICES ) typedef struct { - vec_t vertices[4*TESS_MAX_VERTICES]; - byte colors[4*TESS_MAX_VERTICES]; - tcoord_t tcoords[TESS_MAX_VERTICES]; + vec_t vertices[VERTEX_SIZE*TESS_MAX_VERTICES]; int indices[TESS_MAX_INDICES]; + byte colors[4*TESS_MAX_VERTICES]; int texnum[MAX_TMUS]; int numVertices; int numIndices; |