summaryrefslogtreecommitdiffhomepage
path: root/examples/textures
diff options
context:
space:
mode:
authorDaniel Nagy <[email protected]>2021-07-11 18:47:31 +0200
committerGitHub <[email protected]>2021-07-11 18:47:31 +0200
commit8a46b5e6c0319a442d1c2f0184843c5b1f7aebef (patch)
tree6d8f4093ea82b63e748e29d4a4cbbff8803b7609 /examples/textures
parentae230dae4606ab1c911ed41a90153a79cd4859f5 (diff)
downloadraylib-8a46b5e6c0319a442d1c2f0184843c5b1f7aebef.tar.gz
raylib-8a46b5e6c0319a442d1c2f0184843c5b1f7aebef.zip
Use 60 FPS for textures_image_loading example (#1867)
Diffstat (limited to 'examples/textures')
-rw-r--r--examples/textures/textures_image_loading.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/textures/textures_image_loading.c b/examples/textures/textures_image_loading.c
index 265cab44..527ed35a 100644
--- a/examples/textures/textures_image_loading.c
+++ b/examples/textures/textures_image_loading.c
@@ -28,6 +28,7 @@ int main(void)
Texture2D texture = LoadTextureFromImage(image); // Image converted to texture, GPU memory (VRAM)
UnloadImage(image); // Once image has been converted to texture and uploaded to VRAM, it can be unloaded from RAM
+ SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//---------------------------------------------------------------------------------------
// Main game loop
@@ -60,4 +61,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
-} \ No newline at end of file
+}