mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Headless server: simplify system config logger
This commit is contained in:
17
common/opengl_checker.h
Normal file
17
common/opengl_checker.h
Normal file
@ -0,0 +1,17 @@
|
||||
#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
|
Reference in New Issue
Block a user