Ok, you've got two issues.
First. Look really hard at the last line of the _bobRect
initialization. Guess what value the _bobRect.h
parameter will have? (hint, it's 0 :)
_bobRect.x = 150;
_bobRect.y = 150;
_bobRect.w = 80;
_bobRect.y = 50;
Second, since you copy _grassTexture
on top of _bobTexture
and it's larger it will hide _bobTexture
unless it's transparent. So change the order so the background gets copied first like this
SDL_RenderCopy(_renderer,_grassTexture,NULL,&(_grassRect));
SDL_RenderCopy(_renderer,_bobTexture,NULL,&(_bobRect));
Then you should be fine.