mirror of
https://github.com/raysan5/raylib.git
synced 2026-09-14 01:50:50 +00:00
[examples] Release source images in image rotate example (#6145)
Co-authored-by: Hugohong258 <282228220+Hugohong258@users.noreply.github.com>
This commit is contained in:
@@ -44,6 +44,10 @@ int main(void)
|
||||
textures[1] = LoadTextureFromImage(image90);
|
||||
textures[2] = LoadTextureFromImage(imageNeg90);
|
||||
|
||||
UnloadImage(image45);
|
||||
UnloadImage(image90);
|
||||
UnloadImage(imageNeg90);
|
||||
|
||||
int currentTexture = 0;
|
||||
|
||||
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
|
||||
Reference in New Issue
Block a user