diff options
Diffstat (limited to 'examples/textures_image_loading.c')
| -rw-r--r-- | examples/textures_image_loading.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/textures_image_loading.c b/examples/textures_image_loading.c index 7c6aae52..47eb58af 100644 --- a/examples/textures_image_loading.c +++ b/examples/textures_image_loading.c @@ -7,7 +7,7 @@ * This example has been created using raylib 1.1 (www.raylib.com) * raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) * -* Copyright (c) 2014 Ramon Santamaria (Ray San - raysan@raysanweb.com) +* Copyright (c) 2014 Ramon Santamaria (@raysan5) * ********************************************************************************************/ @@ -25,7 +25,7 @@ int main() // NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required) Image image = LoadImage("resources/raylib_logo.png"); // Loaded in CPU memory (RAM) - Texture2D texture = LoadTextureFromImage(image); // Image converted to texture, GPU memory (VRAM) + 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 //--------------------------------------------------------------------------------------- |
