mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-10 13:09:43 +01:00
Only render screen effects on the title screen and in-game
In-game because that's where screen effects are used the most. But on the title screen, screen effects are used when you press ACTION to start the game, and when you enable screen effects, too. Otherwise, we don't need screen effects for any other game-gamestate.
This commit is contained in:
parent
857937326e
commit
94edfcf87e
3 changed files with 6 additions and 6 deletions
|
@ -1275,7 +1275,7 @@ void gamecompleterender()
|
|||
|
||||
graphics.drawfade();
|
||||
|
||||
graphics.renderwithscreeneffects();
|
||||
graphics.render();
|
||||
}
|
||||
|
||||
void gamecompleterender2()
|
||||
|
@ -1305,7 +1305,7 @@ void gamecompleterender2()
|
|||
|
||||
graphics.drawfade();
|
||||
|
||||
graphics.renderwithscreeneffects();
|
||||
graphics.render();
|
||||
}
|
||||
|
||||
void gamerender()
|
||||
|
@ -2495,7 +2495,7 @@ void maprender()
|
|||
}
|
||||
else
|
||||
{
|
||||
graphics.renderwithscreeneffects();
|
||||
graphics.render();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2658,6 +2658,6 @@ void teleporterrender()
|
|||
}
|
||||
else
|
||||
{
|
||||
graphics.renderwithscreeneffects();
|
||||
graphics.render();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3422,7 +3422,7 @@ void editorrender()
|
|||
|
||||
graphics.drawfade();
|
||||
|
||||
graphics.renderwithscreeneffects();
|
||||
graphics.render();
|
||||
}
|
||||
|
||||
void editorlogic()
|
||||
|
|
|
@ -95,5 +95,5 @@ void preloaderrender()
|
|||
|
||||
graphics.drawfade();
|
||||
|
||||
graphics.renderwithscreeneffects();
|
||||
graphics.render();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue