[SDL] How about an SDL_RenderFillQuad function?
sean at windowsgames.co.uk
Fri Sep 30 08:41:28 PDT 2016
I also want the line to be any colour (set by what the player chooses) so I couldn't use a fixed PNG file for my texture. I suppose I could create the texture on the fly and fill it with an SDL_RenderFillRect and then rotate that, but it seems like a hell of a lot of work for something that ought to be trivial.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL