summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-09 15:00:08 +0800
committerBrian Paul <brianp@vmware.com>2009-09-30 08:31:56 -0600
commita73ba2d31b87e974f6846a8aaced704634f6f657 (patch)
treeb89eb6d9c8cf070c4ebbfd152a2aa1b853ad20ba /src/mesa/vbo/vbo_exec_api.c
parentaefa1f6ab1d9267b223b06ae205ab34c8e0d7c02 (diff)
downloadexternal_mesa3d-a73ba2d31b87e974f6846a8aaced704634f6f657.zip
external_mesa3d-a73ba2d31b87e974f6846a8aaced704634f6f657.tar.gz
external_mesa3d-a73ba2d31b87e974f6846a8aaced704634f6f657.tar.bz2
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/vbo/vbo_exec_api.c')
-rw-r--r--src/mesa/vbo/vbo_exec_api.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index cfe8be7..3eb8578 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -35,9 +35,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "main/context.h"
#include "main/macros.h"
#include "main/vtxfmt.h"
-#if FEATURE_dlist
#include "main/dlist.h"
-#endif
#include "main/eval.h"
#include "main/state.h"
#include "main/light.h"
@@ -568,12 +566,9 @@ static void vbo_exec_vtxfmt_init( struct vbo_exec_context *exec )
_MESA_INIT_ARRAYELT_VTXFMT(vfmt, _ae_);
vfmt->Begin = vbo_exec_Begin;
-#if FEATURE_dlist
- vfmt->CallList = _mesa_CallList;
- vfmt->CallLists = _mesa_CallLists;
-#endif
vfmt->End = vbo_exec_End;
+ _MESA_INIT_DLIST_VTXFMT(vfmt, _mesa_);
_MESA_INIT_EVAL_VTXFMT(vfmt, vbo_exec_);
vfmt->Rectf = _mesa_noop_Rectf;