'eglCreateContext': egl error 'EGL_BAD_CONFIG' (0x3005)

When trying to run /usr/bin/gles2_bc_webcam-x11 I get the following
error:

# /usr/bin/gles2_bc_webcam-x11
INFO: current input is ov534
'eglCreateContext': egl error 'EGL_BAD_CONFIG' (0x3005)
ERROR: init EGL failed
Segmentation fault

This demo has worked before. It takes the video in from a web cam and
maps it on to a spinning cube. Something has happened so that it
isn't working now.

Any ideas on how to fix it?

--Mark