I can make full screen application with SDL2 that appears black from the get go, but any window created with SDL seems to have to be white to begin with. I try to create it hidden and to set render color to black and clear the screen before showing the window but seems I cannot do any render operations on a hidden window. Therefore if I immediately paint the screen black it still flashes white first.

Is there a way to make it appear any other color than white when first appearing on screen?