From 997170a317bb8077cb96d3fc757c6cde0c0ea466 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Thu, 27 Aug 2015 16:13:31 +0200 Subject: Examples reviewed --- examples/textures_image_loading.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/textures_image_loading.c') 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 //--------------------------------------------------------------------------------------- -- cgit v1.2.3