From 02cdc084866442b84867fd1409b046a664cac5a1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 29 Dec 2005 08:49:54 +0000 Subject: [PATCH] Nothing else uses these, and we don't even bother exporting them to Lua. Remove them to eliminate an SDimensions.h dependency. --- stepmania/src/RageDisplay.cpp | 2 +- stepmania/src/ScreenDimensions.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index 5372d722d0..7d2ab9bc4a 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -472,7 +472,7 @@ void RageDisplay::LoadMenuPerspective( float fovDegrees, float fVanishPointX, fl if( fovDegrees == 0 ) { float left = 0, right = SCREEN_WIDTH, bottom = SCREEN_HEIGHT, top = 0; - g_ProjectionStack.LoadMatrix( GetOrthoMatrix(left, right, bottom, top, SCREEN_NEAR, SCREEN_FAR) ); + g_ProjectionStack.LoadMatrix( GetOrthoMatrix(left, right, bottom, top, -1000, +1000) ); g_ViewStack.LoadIdentity(); } else diff --git a/stepmania/src/ScreenDimensions.h b/stepmania/src/ScreenDimensions.h index 09be5eba6a..e9cd3bca07 100644 --- a/stepmania/src/ScreenDimensions.h +++ b/stepmania/src/ScreenDimensions.h @@ -28,9 +28,6 @@ namespace ScreenDimensions #define FullScreenRectF RectF(SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM) -#define SCREEN_NEAR (-1000) -#define SCREEN_FAR (1000) - #define ARROW_SIZE (64) #endif