diff options
| author | Marco Lizza <marco.lizza@gmail.com> | 2019-01-09 16:33:09 +0100 |
|---|---|---|
| committer | Marco Lizza <marco.lizza@gmail.com> | 2019-01-09 16:33:09 +0100 |
| commit | 0c5bee4c9addc20b8b3c443820764854c63f76d7 (patch) | |
| tree | 1978bfb290fa0596998674f6419496e1ab45f7d8 /examples | |
| parent | 0fe56b1674c99aa75c0dd6f45d77cbff80cf218c (diff) | |
| download | raylib-0c5bee4c9addc20b8b3c443820764854c63f76d7.tar.gz raylib-0c5bee4c9addc20b8b3c443820764854c63f76d7.zip | |
Limiting FPS to 60 for uniformity with other examples.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/shaders/shaders_palette_switch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/shaders/shaders_palette_switch.c b/examples/shaders/shaders_palette_switch.c index 03151b66..ad09ca73 100644 --- a/examples/shaders/shaders_palette_switch.c +++ b/examples/shaders/shaders_palette_switch.c @@ -88,6 +88,7 @@ int main() // Initial index not set, will be automatically bounded below.
int currentPalette = -1;
+ SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
// Main game loop
|
