From a67566b01f379135938e8fe1962e2f6261eb6a1e Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 3 Feb 2009 20:08:21 +0000 Subject: [PATCH] Add static qualifier where due. --- desmume/src/rasterize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/rasterize.cpp b/desmume/src/rasterize.cpp index 134b964d8..8955e0219 100644 --- a/desmume/src/rasterize.cpp +++ b/desmume/src/rasterize.cpp @@ -67,7 +67,7 @@ struct Vertex int w; } verts[3]; -void SubmitVertex(VERT* rawvert) +static void SubmitVertex(VERT* rawvert) { static int vert_index = 0; Vertex &vert = verts[vert_index++]; @@ -252,7 +252,7 @@ struct Interpolator //http://www.devmaster.net/forums/showthread.php?t=1884&page=1 //todo - change to the tile-based renderer and try to apply some optimizations from that thread -void triangle_from_devmaster() +static void triangle_from_devmaster() { // 28.4 fixed-point coordinates const int Y1 = iround(16.0f * verts[0].vert->coord[1]);