Exemple #1
0
void
ejoy2d_game_exit(struct game *G) {
	label_unload();
	texture_exit();
	shader_unload();
	ejoy2d_close_lua(G);
}
Exemple #2
0
void
ejoy2d_game_exit(struct game *G) {
	label_unload();
	texture_exit();
	shader_unload();
	lua_close(G->L);
	free(G);
}
Exemple #3
0
static int
lunload(lua_State *L) {
	shader_unload();
	return 0;
}