diff options
author | Chia-I Wu <[email protected]> | 2009-09-07 17:51:42 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 08:31:55 -0600 |
commit | a833ff0f53da6e365d917bb0081d909a809b6ec1 (patch) | |
tree | a5b6b1297416ed129cd8239d117b64e9f58fe9b6 /src/mesa/main/api_exec.c | |
parent | e82b02c7e839189bcafe6c81ae8972fe6a88dd01 (diff) |
mesa/main: Make FEATURE_accum follow feature conventions.
As shown in mfeatures.h, this allows users of accum.h to work without
knowing if the feature is available.
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r-- | src/mesa/main/api_exec.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 63176390751..9ffac7905a9 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -30,9 +30,7 @@ #include "mfeatures.h" -#if FEATURE_accum #include "accum.h" -#endif #include "api_loopback.h" #include "api_exec.h" #if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program @@ -193,10 +191,9 @@ _mesa_init_exec_table(struct _glapi_table *exec) SET_TexParameteri(exec, _mesa_TexParameteri); SET_Translatef(exec, _mesa_Translatef); SET_Viewport(exec, _mesa_Viewport); -#if FEATURE_accum - SET_Accum(exec, _mesa_Accum); - SET_ClearAccum(exec, _mesa_ClearAccum); -#endif + + _mesa_init_accum_dispatch(exec); + #if FEATURE_dlist SET_CallList(exec, _mesa_CallList); SET_CallLists(exec, _mesa_CallLists); |