diff options
| author | victorfisac <[email protected]> | 2016-07-05 11:57:05 +0200 |
|---|---|---|
| committer | victorfisac <[email protected]> | 2016-07-05 11:57:05 +0200 |
| commit | 1aecd5be072083e27e4289499865b5681f1ea656 (patch) | |
| tree | 808159aa95df9b2be5509d83791aa6cad4ddf6b8 /src/textures.c | |
| parent | 1b0996fb0bcf68e2a14bc6260c6f2c5366ab033f (diff) | |
| parent | 2ff2096b36d80078cbda5e61ff77d7fedeeeaeb5 (diff) | |
| download | raylib-1aecd5be072083e27e4289499865b5681f1ea656.tar.gz raylib-1aecd5be072083e27e4289499865b5681f1ea656.zip | |
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 7 |
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 |
