瀏覽代碼

Code tweak

pull/132/head
raysan5 8 年之前
父節點
當前提交
afe033412b
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. +1
    -6
      src/textures.c

+ 1
- 6
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

Loading…
取消
儲存