diff options
author | Chia-I Wu <[email protected]> | 2009-09-09 15:00:08 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 08:31:56 -0600 |
commit | a73ba2d31b87e974f6846a8aaced704634f6f657 (patch) | |
tree | b89eb6d9c8cf070c4ebbfd152a2aa1b853ad20ba /src/mesa/main/shared.c | |
parent | aefa1f6ab1d9267b223b06ae205ab34c8e0d7c02 (diff) |
mesa/main: Make FEATURE_dlist follow feature conventions.
As shown in mfeatures.h, this allows users of dlist.h to work without
knowing if the feature is available.
Diffstat (limited to 'src/mesa/main/shared.c')
-rw-r--r-- | src/mesa/main/shared.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/shared.c b/src/mesa/main/shared.c index 643ad3354e7..4d01e8abc6e 100644 --- a/src/mesa/main/shared.c +++ b/src/mesa/main/shared.c @@ -37,9 +37,7 @@ #include "shared.h" #include "shader/program.h" #include "shader/shader_api.h" -#if FEATURE_dlist #include "dlist.h" -#endif #if FEATURE_ATI_fragment_shader #include "shader/atifragshader.h" #endif @@ -143,11 +141,9 @@ _mesa_alloc_shared_state(GLcontext *ctx) static void delete_displaylist_cb(GLuint id, void *data, void *userData) { -#if FEATURE_dlist struct gl_display_list *list = (struct gl_display_list *) data; GLcontext *ctx = (GLcontext *) userData; _mesa_delete_list(ctx, list); -#endif } |