Browse Source

Update Beginners_-_CreateandDrawinside_Texture.c

Rudy Boudewijn van Etten 5 years ago
parent
commit
d1c3a7450d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Beginners_-_CreateandDrawinside_Texture.c

+ 2 - 0
Beginners_-_CreateandDrawinside_Texture.c

@@ -50,6 +50,8 @@ int main(void)
 
 
     // De-Initialization
     // De-Initialization
     //--------------------------------------------------------------------------------------
     //--------------------------------------------------------------------------------------
+    UnloadRenderTexture(target);    // Unload render texture
+    //--------------------------------------------------------------------------------------
     CloseWindow();        // Close window and OpenGL context
     CloseWindow();        // Close window and OpenGL context
     //--------------------------------------------------------------------------------------
     //--------------------------------------------------------------------------------------