I noticed that CreateTextureFromSurface wants a renderer and a surface passed in as arguments.
I was trying to seperate sprites from the game window, which holds the renderer; and am not quite sure how to do it.
At the moment, I have a Window class which holds the window and renderer, and a Sprite, which has image loading capabilities. An image should be able to load it's own image without knowing about the window; or that's the idea I was chasing after.
Do I really have to pass a Window down by reference into Sprite, so that Sprite can get() a renderer from the Window?