Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

bool QGLFormat::hasOpenGL (  )  [static]

Returns true if the window system has any OpenGL support; otherwise returns false.

This function must not be called until the QApplication object has been created.

Definition at line 273 of file qgl_x11.cpp.

Referenced by openGLVersionFlags().

    return glXQueryExtension(X11->display, 0, 0) != 0;

Generated by  Doxygen 1.6.0   Back to index