summaryrefslogtreecommitdiffhomepage
path: root/examples/textures
diff options
context:
space:
mode:
authorRay <[email protected]>2021-08-28 22:54:47 +0200
committerRay <[email protected]>2021-08-28 22:54:47 +0200
commit68bcfa119243e716eaf00ffe521d0358c084b74f (patch)
tree414b19fb9984ad1833bee7794e8b9ad7f896c07e /examples/textures
parentd98e61c6ebf2bca919e1d1a0e8da6164f888d04a (diff)
downloadraylib-68bcfa119243e716eaf00ffe521d0358c084b74f.tar.gz
raylib-68bcfa119243e716eaf00ffe521d0358c084b74f.zip
Minor tweak
Diffstat (limited to 'examples/textures')
-rw-r--r--examples/textures/textures_image_loading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textures/textures_image_loading.c b/examples/textures/textures_image_loading.c
index 527ed35a..8babce69 100644
--- a/examples/textures/textures_image_loading.c
+++ b/examples/textures/textures_image_loading.c
@@ -26,8 +26,8 @@ int main(void)
Image image = LoadImage("resources/raylib_logo.png"); // Loaded in CPU memory (RAM)
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
//---------------------------------------------------------------------------------------