mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
move first al_flip_display() way earlier
This commit is contained in:
parent
f8306f80c1
commit
0ba9c7bbae
1 changed files with 1 additions and 4 deletions
|
@ -267,6 +267,7 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
|||
al_inhibit_screensaver(true);
|
||||
|
||||
SetupViewport(game);
|
||||
al_flip_display();
|
||||
|
||||
al_add_new_bitmap_flag(ALLEGRO_MIN_LINEAR | ALLEGRO_MAG_LINEAR);
|
||||
|
||||
|
@ -328,10 +329,6 @@ SYMBOL_EXPORT int libsuperderpy_start(struct Game* game) {
|
|||
}
|
||||
al_register_event_source(game->_priv.event_queue, &(game->event_source));
|
||||
|
||||
al_clear_to_color(al_map_rgb(0, 0, 0));
|
||||
|
||||
al_flip_display();
|
||||
|
||||
{
|
||||
struct Gamestate* tmp = game->_priv.gamestates;
|
||||
while (tmp) {
|
||||
|
|
Loading…
Reference in a new issue