git-svn-id: svn://db.shs.com.ru/libs@772 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-11 15:07:15 +00:00
parent 58003070cd
commit b6e5e571af
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ OpenGLWindow::OpenGLWindow(QWindow *parent)
, m_context(nullptr)
, m_device(nullptr)
{
setFlag(Qt::FramelessWindowHint);
setFlags(flags() | Qt::FramelessWindowHint);
setSurfaceType(QWindow::OpenGLSurface);
QSurfaceFormat format = QSurfaceFormat::defaultFormat();
// qDebug() << format;