starting point for an openGL example patch