practicing C++ with OpenGL and SDL