aboutsummaryrefslogtreecommitdiff
path: root/examples/textures_image_loading.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-08-27 16:13:31 +0200
committerraysan5 <raysan5@gmail.com>2015-08-27 16:13:49 +0200
commit997170a317bb8077cb96d3fc757c6cde0c0ea466 (patch)
tree139171eed30f8d0f77ea4873ca1f0510dc5b0812 /examples/textures_image_loading.c
parent8745d733f98e1c9a647a8bd8b85cf0781782d4b7 (diff)
downloadraylib-997170a317bb8077cb96d3fc757c6cde0c0ea466.tar.gz
raylib-997170a317bb8077cb96d3fc757c6cde0c0ea466.zip
Examples reviewed
Diffstat (limited to 'examples/textures_image_loading.c')
-rw-r--r--examples/textures_image_loading.c4
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
//---------------------------------------------------------------------------------------