[SDL] Does CreateTextureFromSurface imply SDL_TEXTUREACCESS_STATIC
Sik the hedgehog
sik.the.hedgehog at gmail.com
Tue Oct 1 22:55:37 PDT 2013
Assuming there isn't one just because nobody thought of that use case.
2013/10/1, lloyd_b <lloydbaz at msn.com>:
> 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... :-)
More information about the SDL