, _one_shot (false)
{
_canvas = new wxGLCanvas (parent, wxID_ANY, 0, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE);
+ check_gl_error ("wxGLCanvas constructor");
_canvas->Bind (wxEVT_PAINT, boost::bind(&GLVideoView::update, this));
_canvas->Bind (wxEVT_SIZE, boost::bind(boost::ref(Sized)));
_canvas->Bind (wxEVT_CREATE, boost::bind(&GLVideoView::create, this));
_vsync_enabled = true;
#endif
+ check_gl_error ("pre-glGenTextures");
glGenTextures (1, &_id);
check_gl_error ("glGenTextures");
glBindTexture (GL_TEXTURE_2D, _id);