C++ port of the OpenGL hardware capability viewer