1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 22:18:30 +02:00

Remove useless function updategraphicsmode()

Now that it does nothing due to some earlier changes, it's a useless
function that does nothing. (Well, it was already a useless function,
but those earlier changes made it clearer just exactly how useless it
is.) So remove that function and remove all its callsites.
This commit is contained in:
Misa 2020-04-01 16:05:21 -07:00 committed by Ethan Lee
parent 297f1b6e3a
commit 691673ed30
2 changed files with 0 additions and 11 deletions

View File

@ -9,9 +9,6 @@
extern scriptclass script;
// Found in titlerender.cpp
void updategraphicsmode();
void updatebuttonmappings(int bind)
{
for (
@ -510,7 +507,6 @@ SDL_assert(0 && "Remove open level dir");
music.playef(11, 10);
graphics.screenbuffer->toggleFullScreen();
game.fullscreen = !game.fullscreen;
updategraphicsmode();
game.savestats();
game.createmenu("graphicoptions");
game.currentmenuoption = 0;
@ -518,7 +514,6 @@ SDL_assert(0 && "Remove open level dir");
music.playef(11, 10);
graphics.screenbuffer->toggleStretchMode();
game.stretchMode = (game.stretchMode + 1) % 3;
updategraphicsmode();
game.savestats();
game.createmenu("graphicoptions");
game.currentmenuoption = 1;
@ -526,7 +521,6 @@ SDL_assert(0 && "Remove open level dir");
music.playef(11, 10);
graphics.screenbuffer->toggleLinearFilter();
game.useLinearFilter = !game.useLinearFilter;
updategraphicsmode();
game.savestats();
game.createmenu("graphicoptions");
game.currentmenuoption = 2;
@ -535,7 +529,6 @@ SDL_assert(0 && "Remove open level dir");
music.playef(11, 10);
game.fullScreenEffect_badSignal = !game.fullScreenEffect_badSignal;
//Hook the analogue thing in here: ABCDEFG
updategraphicsmode();
graphics.screenbuffer->badSignalEffect= !graphics.screenbuffer->badSignalEffect;
game.savestats();
game.createmenu("graphicoptions");

View File

@ -20,10 +20,6 @@ int tb;
std::string tempstring;
void updategraphicsmode()
{
}
void titlerender()
{