Blenderplayer: Setting G.main to NULL after it's freed to avoid issues later with GPU_free_images()
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user