mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 21:22:14 +00:00
Show true framerate with stereo separation enabled
This commit is contained in:
parent
fa0ff6aaac
commit
3f56dffaa7
1 changed files with 5 additions and 4 deletions
|
@ -976,7 +976,8 @@ CG_DrawUpperRight
|
||||||
|
|
||||||
=====================
|
=====================
|
||||||
*/
|
*/
|
||||||
static void CG_DrawUpperRight( void ) {
|
static void CG_DrawUpperRight(stereoFrame_t stereoFrame)
|
||||||
|
{
|
||||||
float y;
|
float y;
|
||||||
|
|
||||||
y = 0;
|
y = 0;
|
||||||
|
@ -987,7 +988,7 @@ static void CG_DrawUpperRight( void ) {
|
||||||
if ( cg_drawSnapshot.integer ) {
|
if ( cg_drawSnapshot.integer ) {
|
||||||
y = CG_DrawSnapshot( y );
|
y = CG_DrawSnapshot( y );
|
||||||
}
|
}
|
||||||
if ( cg_drawFPS.integer ) {
|
if (cg_drawFPS.integer && (stereoFrame == STEREO_CENTER || stereoFrame == STEREO_RIGHT)) {
|
||||||
y = CG_DrawFPS( y );
|
y = CG_DrawFPS( y );
|
||||||
}
|
}
|
||||||
if ( cg_drawTimer.integer ) {
|
if ( cg_drawTimer.integer ) {
|
||||||
|
@ -2594,10 +2595,10 @@ static void CG_Draw2D(stereoFrame_t stereoFrame)
|
||||||
|
|
||||||
#ifdef MISSIONPACK
|
#ifdef MISSIONPACK
|
||||||
if (!cg_paused.integer) {
|
if (!cg_paused.integer) {
|
||||||
CG_DrawUpperRight();
|
CG_DrawUpperRight(stereoFrame);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
CG_DrawUpperRight();
|
CG_DrawUpperRight(stereoFrame);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MISSIONPACK
|
#ifndef MISSIONPACK
|
||||||
|
|
Loading…
Reference in a new issue