Allows to add a existing SDL_Texture to the internal array to be used with the rest of LEXSDL.
Returns the id of the texture (the index in the internal array of SDL_Texture).
It's internally used by LEXSDL_LoadTexture(), LEXSDL_LoadTextureBytes() to add the created texture.
Since this function can fail (return values listed bellow) it should be check if the returned value is a id or a error.
A fail will not cause a segfault so it can be retried to add the texture.
int LEXSDL_AddTexture(SDL_Texture *texture);