git-svn-id: svn://db.shs.com.ru/libs@773 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user