[SDL] How about an SDL_RenderFillQuad function?

SeanOConnor 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...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20160930/2fc526c5/attachment.htm>


More information about the SDL mailing list