Blenderplayer: Setting G.main to NULL after it's freed to avoid issues later with GPU_free_images()

This commit is contained in:
Mitchell Stokes
2011-06-15 23:43:02 +00:00
parent a3e296fc40
commit 1c0a6c6468

View File

@@ -408,6 +408,7 @@ int main(int argc, char** argv)
// We load our own G.main, so free the one that initglobals() gives us
free_main(G.main);
G.main = NULL;
IMB_init();