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

This commit is contained in:
2020-03-11 15:11:13 +00:00
parent b6e5e571af
commit 37b0c1c481

View File

@@ -11,7 +11,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;