From 751417ffb2ee6af534ae0347c653a5f102a5b9a7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 7 Jan 2013 19:59:49 +0900 Subject: [PATCH] Rename R_RecursiveWorldNode to R_VisitWorldNodes. Finally, the name reflects its actual purpose. --- libs/video/renderer/sw/sw_rbsp.c | 5 ++--- libs/video/renderer/sw32/sw32_rbsp.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libs/video/renderer/sw/sw_rbsp.c b/libs/video/renderer/sw/sw_rbsp.c index 076be2b71..175d7b14b 100644 --- a/libs/video/renderer/sw/sw_rbsp.c +++ b/libs/video/renderer/sw/sw_rbsp.c @@ -441,9 +441,8 @@ test_node (mnode_t *node, int *clipflags) return 1; } -//FIXME no longer recursive: need a new name static void -R_RecursiveWorldNode (model_t *model, int clipflags) +R_VisitWorldNodes (model_t *model, int clipflags) { typedef struct { mnode_t *node; @@ -511,7 +510,7 @@ R_RenderWorld (void) clmodel = currententity->model; r_pcurrentvertbase = clmodel->vertexes; - R_RecursiveWorldNode (clmodel, 15); + R_VisitWorldNodes (clmodel, 15); // if the driver wants the polygons back to front, play the visible ones // back in that order diff --git a/libs/video/renderer/sw32/sw32_rbsp.c b/libs/video/renderer/sw32/sw32_rbsp.c index dca5e68a8..e0b425be9 100644 --- a/libs/video/renderer/sw32/sw32_rbsp.c +++ b/libs/video/renderer/sw32/sw32_rbsp.c @@ -444,9 +444,8 @@ test_node (mnode_t *node, int *clipflags) return 1; } -//FIXME no longer recursive: need a new name static void -R_RecursiveWorldNode (model_t *model, int clipflags) +R_VisitWorldNodes (model_t *model, int clipflags) { typedef struct { mnode_t *node; @@ -514,7 +513,7 @@ sw32_R_RenderWorld (void) clmodel = currententity->model; r_pcurrentvertbase = clmodel->vertexes; - R_RecursiveWorldNode (clmodel, 15); + R_VisitWorldNodes (clmodel, 15); // if the driver wants the polygons back to front, play the visible ones // back in that order