aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-06-21 13:45:13 +0200
committerraysan5 <raysan5@gmail.com>2016-06-21 13:45:13 +0200
commitafe033412b4d8bffc9235a49dc8049eb74af59f3 (patch)
tree4d0442adde848d3e9b028a45076623669a80e538 /src
parentc28a5fbd62e82f776f4399a1e561c7c4f4bff898 (diff)
downloadraylib-afe033412b4d8bffc9235a49dc8049eb74af59f3.tar.gz
raylib-afe033412b4d8bffc9235a49dc8049eb74af59f3.zip
Code tweak
Diffstat (limited to 'src')
-rw-r--r--src/textures.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/textures.c b/src/textures.c
index 518348f4..f5523a3e 100644
--- a/src/textures.c
+++ b/src/textures.c
@@ -422,12 +422,7 @@ void UnloadTexture(Texture2D texture)
// Unload render texture from GPU memory
void UnloadRenderTexture(RenderTexture2D target)
{
- if (target.id != 0)
- {
- rlDeleteRenderTextures(target);
-
- TraceLog(INFO, "[FBO ID %i] Unloaded render texture data from VRAM (GPU)", target.id);
- }
+ if (target.id != 0) rlDeleteRenderTextures(target);
}
// Get pixel data from image in the form of Color struct array