summaryrefslogtreecommitdiffstats
path: root/src/core/ozone
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-20 11:32:08 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-20 11:32:08 +0100
commit0f93f145008b84b5f6e266380cab1dbb2f7ab9cd (patch)
treec5051315515fe9f7d75d0d75fbe8ec6a7740cc2f /src/core/ozone
parentf4e041643d5f05330e6495d83f2e583da97a69d7 (diff)
parentcbeef3ee920576d668664ca2e0b8a55ae307959a (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Diffstat (limited to 'src/core/ozone')
-rw-r--r--src/core/ozone/gl_surface_glx_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ozone/gl_surface_glx_qt.cpp b/src/core/ozone/gl_surface_glx_qt.cpp
index 4faa08091..24772889f 100644
--- a/src/core/ozone/gl_surface_glx_qt.cpp
+++ b/src/core/ozone/gl_surface_glx_qt.cpp
@@ -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);