aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarco Lizza <marco.lizza@gmail.com>2019-01-09 16:33:09 +0100
committerMarco Lizza <marco.lizza@gmail.com>2019-01-09 16:33:09 +0100
commit0c5bee4c9addc20b8b3c443820764854c63f76d7 (patch)
tree1978bfb290fa0596998674f6419496e1ab45f7d8 /examples
parent0fe56b1674c99aa75c0dd6f45d77cbff80cf218c (diff)
downloadraylib-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.c1
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