Remove useless screen render on initialization

screen_render() should not be called on initialization:
 1. it is useless, since the window is hidden until the first frame;
 2. it writes an empty texture (probably green) to the renderer.
This commit is contained in:
Romain Vimont 2018-02-15 13:39:51 +01:00
parent d977202224
commit 5ebf31d483

View file

@ -173,7 +173,6 @@ SDL_bool screen_init_rendering(struct screen *screen, const char *device_name, s
return SDL_FALSE; return SDL_FALSE;
} }
screen_render(screen);
return SDL_TRUE; return SDL_TRUE;
} }