I want to create a menu for a game using a color gradient as the background. Is there a way to create a gradient background instead of using an image for it (since I don't know what size the window will be, using an image is no option).
Please note: I need to achieve this using only the C standard library and the SDL, no other library and no C++.