summaryrefslogtreecommitdiff
path: root/src/renderergl1
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-11-16 11:58:52 -0600
committerTim Angus <tim@ngus.net>2015-03-17 11:39:01 +0000
commit0e609f2df666b275707fb3071c095a39fe8db02b (patch)
tree52f80fc55d98a36f4b8c4bf1f352a41f922b04e7 /src/renderergl1
parent3fefb6b2abbc1aa2d5af98b0dd81bd19778bde7a (diff)
Remove unfinished OpenGL display list code
It seems unlikely anyone is going to do anything with this aside from stub it out in OpenGLES ports.
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
};