void ejoy2d_game_exit(struct game *G) { label_unload(); texture_exit(); shader_unload(); ejoy2d_close_lua(G); }
void ejoy2d_game_exit(struct game *G) { label_unload(); texture_exit(); shader_unload(); lua_close(G->L); free(G); }