OpenGL basic game framework