From afe033412b4d8bffc9235a49dc8049eb74af59f3 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 21 Jun 2016 13:45:13 +0200 Subject: [PATCH] Code tweak --- src/textures.c | 7 +------ 1 file changed, 1 insertion(+), 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