[SDL] Does CreateTextureFromSurface imply SDL_TEXTUREACCESS_STATIC

lloyd_b lloydbaz at msn.com
Tue Oct 1 00:38:34 PDT 2013

And the answer to the question in the subject line  is "Yes" - SDL_CreateTextureFromSurface() calls SDL_CreateTexture() with the access parameter set to "SDL_TEXTUREACCESS_STATIC"

Not sure why there isn't a "SDL_UpdateTextureFromSurface()" function to allow you to copy a surface to an existing texture (with whatever access you set for it).  At first glance, it looks like it would be easy enough to do.  But then, I'm a newbie at SDL too... :-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20131001/26500b36/attachment-0008.htm>

More information about the SDL mailing list