summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-01-30 08:53:46 -0700
committerBrian Paul <[email protected]>2015-01-30 13:27:17 -0700
commit613974b774e6cace3799c304fe15a3389047d7be (patch)
treec9b9535ed549e7b8178f65f53b46a92d6178b5ad /src/mesa/main
parent53b01938ed864e2efaa9389b45e88284eebaaa63 (diff)
mesa: s/union gl_dlist_node/Node/ in dlist.c code
Just minor clean-up. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 7e5b83ce4b6..0f0d95cdaf2 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -546,13 +546,13 @@ union pointer
* Save a 4 or 8-byte pointer at dest (and dest+1).
*/
static inline void
-save_pointer(union gl_dlist_node *dest, void *src)
+save_pointer(Node *dest, void *src)
{
union pointer p;
unsigned i;
STATIC_ASSERT(POINTER_DWORDS == 1 || POINTER_DWORDS == 2);
- STATIC_ASSERT(sizeof(union gl_dlist_node) == 4);
+ STATIC_ASSERT(sizeof(Node) == 4);
p.ptr = src;
@@ -565,7 +565,7 @@ save_pointer(union gl_dlist_node *dest, void *src)
* Retrieve a 4 or 8-byte pointer from node (node+1).
*/
static inline void *
-get_pointer(const union gl_dlist_node *node)
+get_pointer(const Node *node)
{
union pointer p;
unsigned i;