mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-24 23:23:10 +00:00
Code tweak
This commit is contained in:
parent
c28a5fbd62
commit
afe033412b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user