yacreader/common/opengl_checker.h
Daisuke Cato a08b5f8af0 reimplementaion of fix for QColorDialog on macOS Sierra bug.
doesn't use destructor because destructor causes another crash.
2016-10-22 19:14:07 +09:00

18 lines
322 B
C++

#ifndef OPENGL_CHECKER_H
#define OPENGL_CHECKER_H
#include <QOpenGLContext>
class OpenGLChecker
{
public:
OpenGLChecker();
bool hasCompatibleOpenGLVersion();
QString textVersionDescription();
private:
QString description;
bool compatibleOpenGLVersion;
};
#endif // OPENGL_CHECKER_H