mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
inhibit screensaver
This commit is contained in:
parent
662dbf3c89
commit
185ac75bbe
1 changed files with 1 additions and 0 deletions
|
@ -316,6 +316,7 @@ int main(int argc, char **argv){
|
||||||
}
|
}
|
||||||
al_set_window_title(game.display, "Super Derpy: Muffin Attack");
|
al_set_window_title(game.display, "Super Derpy: Muffin Attack");
|
||||||
if (game.fullscreen) al_hide_mouse_cursor(game.display);
|
if (game.fullscreen) al_hide_mouse_cursor(game.display);
|
||||||
|
al_inhibit_screensaver(true);
|
||||||
|
|
||||||
al_set_new_bitmap_flags(ALLEGRO_MAG_LINEAR | ALLEGRO_MIN_LINEAR);
|
al_set_new_bitmap_flags(ALLEGRO_MAG_LINEAR | ALLEGRO_MIN_LINEAR);
|
||||||
//al_set_new_bitmap_format(ALLEGRO_PIXEL_FORMAT_ANY_32_WITH_ALPHA);
|
//al_set_new_bitmap_format(ALLEGRO_PIXEL_FORMAT_ANY_32_WITH_ALPHA);
|
||||||
|
|
Loading…
Reference in a new issue