We don't need much, so drop the framerate to make the game eat almost no CPU
This commit is contained in:
parent
b31a3e26ab
commit
ec2b513fe5
|
@ -1,6 +1,6 @@
|
||||||
#include "gamestate.h"
|
#include "gamestate.h"
|
||||||
|
|
||||||
unsigned int GameState::FPS = 60;
|
unsigned int GameState::FPS = 20;
|
||||||
|
|
||||||
GameState::GameState(stack<GameState*>* state_stack, SDL_Surface* display)
|
GameState::GameState(stack<GameState*>* state_stack, SDL_Surface* display)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user