Nothing else uses these, and we don't even bother exporting them
to Lua. Remove them to eliminate an SDimensions.h dependency.
This commit is contained in:
@@ -472,7 +472,7 @@ void RageDisplay::LoadMenuPerspective( float fovDegrees, float fVanishPointX, fl
|
|||||||
if( fovDegrees == 0 )
|
if( fovDegrees == 0 )
|
||||||
{
|
{
|
||||||
float left = 0, right = SCREEN_WIDTH, bottom = SCREEN_HEIGHT, top = 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();
|
g_ViewStack.LoadIdentity();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -28,9 +28,6 @@ namespace ScreenDimensions
|
|||||||
|
|
||||||
#define FullScreenRectF RectF(SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM)
|
#define FullScreenRectF RectF(SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM)
|
||||||
|
|
||||||
#define SCREEN_NEAR (-1000)
|
|
||||||
#define SCREEN_FAR (1000)
|
|
||||||
|
|
||||||
#define ARROW_SIZE (64)
|
#define ARROW_SIZE (64)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user