You need to create the texture with the SDL_TEXTUREACCESS_TARGET flag.
1 file changed