From e8b9863052117e9576aed286641532dbd3434ae0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 29 Dec 2005 19:34:28 +0000 Subject: [PATCH] static --- stepmania/src/RageDisplay.cpp | 8 ++++---- stepmania/src/RageDisplay_D3D.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index fedca19697..826c3e2846 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -356,10 +356,10 @@ public: }; -MatrixStack g_ProjectionStack; -MatrixStack g_ViewStack; -MatrixStack g_WorldStack; -MatrixStack g_TextureStack; +static MatrixStack g_ProjectionStack; +static MatrixStack g_ViewStack; +static MatrixStack g_WorldStack; +static MatrixStack g_TextureStack; const RageMatrix* RageDisplay::GetProjectionTop() { diff --git a/stepmania/src/RageDisplay_D3D.cpp b/stepmania/src/RageDisplay_D3D.cpp index c5fdba99a4..0269fb6eec 100644 --- a/stepmania/src/RageDisplay_D3D.cpp +++ b/stepmania/src/RageDisplay_D3D.cpp @@ -412,7 +412,7 @@ CString SetD3DParams( bool &bNewDeviceOut ) } /* If the given parameters have failed, try to lower them. */ -bool D3DReduceParams( D3DPRESENT_PARAMETERS *pp ) +static bool D3DReduceParams( D3DPRESENT_PARAMETERS *pp ) { D3DDISPLAYMODE current; current.Format = pp->BackBufferFormat;