summaryrefslogtreecommitdiff
path: root/src/renderergl1
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl1')
-rw-r--r--src/renderergl1/tr_local.h6
-rw-r--r--src/renderergl1/tr_surface.c9
2 files changed, 1 insertions, 14 deletions
diff --git a/src/renderergl1/tr_local.h b/src/renderergl1/tr_local.h
index cbca2cb4..6264af82 100644
--- a/src/renderergl1/tr_local.h
+++ b/src/renderergl1/tr_local.h
@@ -478,7 +478,6 @@ typedef enum {
SF_IQM,
SF_FLARE,
SF_ENTITY, // beams, rails, lightning, etc that can be determined by entity
- SF_DISPLAY_LIST,
SF_NUM_SURFACE_TYPES,
SF_MAX = 0x7fffffff // ensures that sizeof( surfaceType_t ) == sizeof( int )
@@ -504,11 +503,6 @@ typedef struct srfPoly_s {
polyVert_t *verts;
} srfPoly_t;
-typedef struct srfDisplayList_s {
- surfaceType_t surfaceType;
- int listNum;
-} srfDisplayList_t;
-
typedef struct srfFlare_s {
surfaceType_t surfaceType;
diff --git a/src/renderergl1/tr_surface.c b/src/renderergl1/tr_surface.c
index b3041f4c..4347c824 100644
--- a/src/renderergl1/tr_surface.c
+++ b/src/renderergl1/tr_surface.c
@@ -1219,12 +1219,6 @@ static void RB_SurfaceFlare(srfFlare_t *surf)
RB_AddFlare(surf, tess.fogNum, surf->origin, surf->color, surf->normal);
}
-static void RB_SurfaceDisplayList( srfDisplayList_t *surf ) {
- // all apropriate state must be set in RB_BeginSurface
- // this isn't implemented yet...
- qglCallList( surf->listNum );
-}
-
static void RB_SurfaceSkip( void *surf ) {
}
@@ -1240,6 +1234,5 @@ void (*rb_surfaceTable[SF_NUM_SURFACE_TYPES])( void *) = {
(void(*)(void*))RB_MDRSurfaceAnim, // SF_MDR,
(void(*)(void*))RB_IQMSurfaceAnim, // SF_IQM,
(void(*)(void*))RB_SurfaceFlare, // SF_FLARE,
- (void(*)(void*))RB_SurfaceEntity, // SF_ENTITY
- (void(*)(void*))RB_SurfaceDisplayList // SF_DISPLAY_LIST
+ (void(*)(void*))RB_SurfaceEntity // SF_ENTITY
};