So this is the problem, if I load a texture in OpenGL I use SDL_GL_BindTexture which in turn needs a SDL_texture.
To load SDL_texture I have to use this function SDL_CreateTextureFromSurface.
SDL_CreateTextureFromSurface needs a render that I do not use because I do have to render OpenGL instead of SDL!