Fix problems with missing safety checks in Render::fillBuffer and pdfcomic

This commit is contained in:
Felix Kauselmann
2017-09-27 22:00:00 +02:00
commit 958003f52f
1042 changed files with 102627 additions and 0 deletions

17
common/opengl_checker.h Normal file
View 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