mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
fix fade outs from menu
This commit is contained in:
parent
3828f4136b
commit
5ac48ffc08
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ void Menu_Preload(struct Game *game) {
|
||||||
|
|
||||||
void Menu_Stop(struct Game* game) {
|
void Menu_Stop(struct Game* game) {
|
||||||
game->menu.menu_fade_bitmap = al_create_bitmap(al_get_display_width(game->display), al_get_display_height(game->display));
|
game->menu.menu_fade_bitmap = al_create_bitmap(al_get_display_width(game->display), al_get_display_height(game->display));
|
||||||
|
al_clear_to_color(al_map_rgb(0,0,0));
|
||||||
ALLEGRO_EVENT ev;
|
ALLEGRO_EVENT ev;
|
||||||
float fadeloop;
|
float fadeloop;
|
||||||
for(fadeloop=0; fadeloop<256; fadeloop+=tps(game, 600)){
|
for(fadeloop=0; fadeloop<256; fadeloop+=tps(game, 600)){
|
||||||
|
|
Loading…
Reference in a new issue