diff options
| author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-05-03 12:58:14 +0000 | 
|---|---|---|
| committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-05-03 12:58:14 +0000 | 
| commit | a04f58426329b1a7d691c96fbc01e660fcba59c2 (patch) | |
| tree | d1d6f23cfd19a5f3f30975e9446d5db5ae7a99d7 /code/cgame | |
| parent | d99d4528842d5b77f046a6906cfc6c815bcbd2da (diff) | |
| download | ioquake3-aero-a04f58426329b1a7d691c96fbc01e660fcba59c2.tar.gz ioquake3-aero-a04f58426329b1a7d691c96fbc01e660fcba59c2.zip  | |
Show true framerate with stereo separation enabled
git-svn-id: svn://svn.icculus.org/quake3/trunk@1337 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/cgame')
| -rw-r--r-- | code/cgame/cg_draw.c | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/code/cgame/cg_draw.c b/code/cgame/cg_draw.c index 7fe0558..554f4f1 100644 --- a/code/cgame/cg_draw.c +++ b/code/cgame/cg_draw.c @@ -976,7 +976,8 @@ CG_DrawUpperRight  =====================  */ -static void CG_DrawUpperRight( void ) { +static void CG_DrawUpperRight(stereoFrame_t stereoFrame) +{  	float	y;  	y = 0; @@ -987,7 +988,7 @@ static void CG_DrawUpperRight( void ) {  	if ( cg_drawSnapshot.integer ) {  		y = CG_DrawSnapshot( y );  	} -	if ( cg_drawFPS.integer ) { +	if (cg_drawFPS.integer && (stereoFrame == STEREO_CENTER || stereoFrame == STEREO_RIGHT)) {  		y = CG_DrawFPS( y );  	}  	if ( cg_drawTimer.integer ) { @@ -2594,10 +2595,10 @@ static void CG_Draw2D(stereoFrame_t stereoFrame)  #ifdef MISSIONPACK  	if (!cg_paused.integer) { -		CG_DrawUpperRight(); +		CG_DrawUpperRight(stereoFrame);  	}  #else -	CG_DrawUpperRight(); +	CG_DrawUpperRight(stereoFrame);  #endif  #ifndef MISSIONPACK  | 
