Added Example 31 for OpenGL.