commit bd4bdfbc8002965cdf6baf1485f2411f351ddeed
parent 55d7bb25c3d8d4c100d2f4b0fd537016f11fa2dd
Author: Andrew Laack <andrew@laack.co>
Date: Thu, 17 Sep 2026 10:18:58 -0500
Fix texture memory leak from raylib
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/future_changes.md b/docs/future_changes.md
@@ -9,4 +9,3 @@ Some I am considering adding:
- this would likely require changes to the graph generation to increase the likelihood of shorter edges
- A* algorithm from the two farthest vertices
- this would likely require changes to the graph generation to increase the likelihood of shorter edges
-
diff --git a/src/main.cpp b/src/main.cpp
@@ -134,5 +134,6 @@ int main(int argc, char** argv) {
oneStepPrim(toVisit, visitedIndices, g);
}
+ UnloadRenderTexture(blankGraph);
}
}