Commit ac147ec3 authored by Kirill Burtsev's avatar Kirill Burtsev
Browse files

Fix warning: implicit conversion of NULL constant to 'const int'


Task-number: QTBUG-74311
Change-Id: If912564ecd29e4f11a613905f2b9169326207ec2
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
Showing with 1 addition and 1 deletion
......@@ -173,7 +173,7 @@ bool GLSurfaceGLXQt::Initialize(GLSurfaceFormat format)
GLX_PBUFFER_HEIGHT, m_size.height(),
GLX_LARGEST_PBUFFER, x11::False,
GLX_PRESERVED_CONTENTS, x11::False,
NULL
x11::None // MEMO doc: ...must be terminated with None or NULL
};
m_surfaceBuffer = glXCreatePbuffer(display, static_cast<GLXFBConfig>(g_config), pbuffer_attributes);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment