[SDL] Does CreateTextureFromSurface imply SDL_TEXTUREACCESS_STATIC
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...
More information about the SDL