|
本帖最后由 xulin_2005 于 2012-9-21 10:39 编辑
在Server 2003环境下装的OSG编译环境,在XP下执行没有问题,但在Server 2003下发现了这个问题,执行到glDrawArrays的地方就崩溃掉了。(具体请见图)
glDrawArrays(_mode,_first,_count);
参数值:
_mode = 7;
_first = 0;
_count = 4;
调试信息中报:
Errors: glGenBuffers not supported by OpenGL driver
Errors: glBindBuffer not supported by OpenGL driver
Errors: glBufferData not supported by OpenGL driver
是否是英文这些不支持导致glDrawArrays函数执行失败,请哪位高人指点一下,谢谢~~
==================================================
显卡驱动是:NVIDIA geForce GT 240
相关贴图
堆栈调用:
>
- osg80-osgd.dll!osg::DrawArrays::draw(osg::State & state={...}, bool __formal=false) 行61 + 0x1d 字节 C++
- osg80-osgd.dll!osg::Geometry::drawImplementation(osg::RenderInfo & renderInfo={...}) 行1122 + 0x17 字节 C++
- osg80-osgd.dll!osg::Drawable::draw(osg::RenderInfo & renderInfo={...}) 行914 + 0x13 字节 C++
- osg80-osgUtild.dll!osgUtil::RenderLeaf::render(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * previous=0x01b38c28) 行63 + 0x19 字节 C++
- osg80-osgUtild.dll!osgUtil::RenderBin::drawImplementation(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行479 + 0x19 字节 C++
- osg80-osgUtild.dll!osgUtil::RenderStage::drawImplementation(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行1398 C++
- osg80-osgUtild.dll!osgUtil::RenderBin::draw(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行424 + 0x17 字节 C++
- osg80-osgUtild.dll!osgUtil::RenderStage::drawInner(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28, bool & doCopyTexture=false) 行933 C++
- osg80-osgUtild.dll!osgUtil::RenderStage::draw(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行1237 + 0x1b 字节 C++
- osg80-osgUtild.dll!osgUtil::SceneView::draw() 行1443 + 0x37 字节 C++
- osg80-osgViewerd.dll!osgViewer::Renderer::draw() 行725 + 0xf 字节 C++
- osg80-osgViewerd.dll!osgViewer::Renderer::operator()(osg::GraphicsContext * context=0x022ebbb0) 行892 + 0xf 字节 C++
- osg80-osgd.dll!osg::GraphicsContext::runOperations() 行756 + 0x33 字节 C++
- osg80-osgd.dll!osg::RunOperations::operator()(osg::GraphicsContext * context=0x022ebbb0) 行138 C++
- osg80-osgd.dll!osg::GraphicsOperation::operator()(osg::Object * object=0x022ebbb0) 行53 + 0x19 字节 C++
- osg80-osgd.dll!osg::OperationThread::run() 行426 + 0x26 字节 C++
- osg80-osgd.dll!osg::GraphicsThread::run() 行41 C++
- ot12-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data=0x022f067c) 行113 + 0xf 字节 C++
- msvcr80d.dll!_callthreadstartex() 行348 + 0xf 字节 C
- msvcr80d.dll!_threadstartex(void * ptd=0x022f0f40) 行331 C
复制代码
|
|