QGLContext创建失败

时间:2013-07-22 01:27:49

标签: c++ qt opengl

在OpenGL初始化之后的QGLWidget中,我创建了另一个上下文:

QGLContext* _glContext =
  new QGLContext(QGLContext::currentContext()->format());
_glContext->create();

create返回0.为什么?

0 个答案:

没有答案