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); }
static int lunload(lua_State *L) { shader_unload(); return 0; }