From 67dc551ba9e1c05fdd9b67ebec16debbb5ae1a32 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 18 Jan 2018 12:22:14 -0700 Subject: [PATCH] vbo: move DLIST_DANGLING_REFS from mtypes.h to vbo_save_api.c It's only used in this file. Reviewed-by: Roland Scheidegger --- src/mesa/main/mtypes.h | 9 --------- src/mesa/vbo/vbo_save_api.c | 5 +++++ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index af67d59f..474b791 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4360,15 +4360,6 @@ struct gl_matrix_stack #include "dd.h" -/** - * Display list flags. - * Strictly this is a tnl-private concept, but it doesn't seem - * worthwhile adding a tnl private structure just to hold this one bit - * of information: - */ -#define DLIST_DANGLING_REFS 0x1 - - /** Opaque declaration of display list payload data type */ union gl_dlist_node; diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 49939ed..a411308 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -89,6 +89,11 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #undef ERROR #endif +/** + * Display list flag only used by this VBO code. + */ +#define DLIST_DANGLING_REFS 0x1 + /* An interesting VBO number/name to help with debugging */ #define VBO_BUF_ID 12345 -- 2.7.4