diff options
author | Brian Paul <[email protected]> | 2013-05-01 19:15:32 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-05-02 09:03:15 -0600 |
commit | 95188fd10f9626fa1045911182e8b2f7b951413f (patch) | |
tree | 03abb47c8386fec3afd60509b242931a5223e85c /src/mesa/main | |
parent | 84e62b735883b10249995c70dd72f3a275953d71 (diff) |
mesa: remove _MESA_INIT_DLIST_VTXFMT() macro
Just expand the code.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dlist.c | 3 | ||||
-rw-r--r-- | src/mesa/main/dlist.h | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 0d12e306656..cfe612d9255 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -9558,7 +9558,8 @@ save_vtxfmt_init(GLvertexformat * vfmt) vfmt->Begin = save_Begin; - _MESA_INIT_DLIST_VTXFMT(vfmt, save_); + vfmt->CallList = save_CallList; + vfmt->CallLists = save_CallLists; vfmt->Color3f = save_Color3f; vfmt->Color3fv = save_Color3fv; diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h index b67f5b535e7..4672d3e60f0 100644 --- a/src/mesa/main/dlist.h +++ b/src/mesa/main/dlist.h @@ -37,12 +37,6 @@ #include "main/mtypes.h" -#define _MESA_INIT_DLIST_VTXFMT(vfmt, impl) \ - do { \ - (vfmt)->CallList = impl ## CallList; \ - (vfmt)->CallLists = impl ## CallLists; \ - } while (0) - GLboolean GLAPIENTRY _mesa_IsList(GLuint list); void GLAPIENTRY |