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:
parent
d977202224
commit
5ebf31d483
1 changed files with 0 additions and 1 deletions
|
@ -173,7 +173,6 @@ SDL_bool screen_init_rendering(struct screen *screen, const char *device_name, s
|
|||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
screen_render(screen);
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue