I'm getting nothing but a white screen here (although the music plays fine). It won't even clear to black. What am I doing wrong?
Does this reduced code work for you (it does for me, should clear everything to red):
If it does, then something is wrong with your paddle functions.
Yes that worked. I don't know what's wrong with the paddle code but here it is:
That was paddle.cpp. Here's the updated main.cpp code:
Hmm... I don't see anything wrong either :/. Have you also tried commenting out just the audio routines?
I figured it out. It was an incredibly stupid error. I capitalized Render when it should have been lower case. In the base class I inherited from, Render was uppercase. I changed it. It works now.
Phew, you had me worried there.
To prevent this from happening in the future, get into the habit of adding override when you override a method. It's a very useful C++11 feature.
Thanks for the tip!