设置屏幕分辩率报错

CCDirector* pDirector = CCDirector::sharedDirector();
CCEGLView* pEGLView = CCEGLView::sharedOpenGLView();

pDirector->setOpenGLView(pEGLView);

// Set the design resolution
pEGLView->setDesignResolutionSize(960, 640,kResolutionExactFit);

代码是这样 ,在android中会报CCDirector.cpp funtion:setGLDefaultValues:line 193的效验错误
版本是2.0.4 帮忙分析一下原因,