diff options
author | Brian Paul <[email protected]> | 2018-01-18 12:22:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-24 10:12:49 -0700 |
commit | 67dc551ba9e1c05fdd9b67ebec16debbb5ae1a32 (patch) | |
tree | e3ff7975b9798411d83fcb5c6b47d3eed5980581 /src | |
parent | cb7ef0df00e19d87d4d2dd95aff2318df2e17dc3 (diff) |
vbo: move DLIST_DANGLING_REFS from mtypes.h to vbo_save_api.c
It's only used in this file.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/mtypes.h | 9 | ||||
-rw-r--r-- | 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 af67d59feff..474b7916ae9 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 49939ed3cef..a411308ea24 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 |