diff options
Diffstat (limited to 'src/platformheaders/nativecontexts/qglxnativecontext.h')
-rw-r--r-- | src/platformheaders/nativecontexts/qglxnativecontext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platformheaders/nativecontexts/qglxnativecontext.h b/src/platformheaders/nativecontexts/qglxnativecontext.h index 2b566d127a..989d68eb9e 100644 --- a/src/platformheaders/nativecontexts/qglxnativecontext.h +++ b/src/platformheaders/nativecontexts/qglxnativecontext.h @@ -56,13 +56,13 @@ typedef int VisualID; struct QGLXNativeContext { QGLXNativeContext() - : m_context(0), - m_display(0), + : m_context(nullptr), + m_display(nullptr), m_window(0), m_visualId(0) { } - QGLXNativeContext(GLXContext ctx, Display *dpy = 0, Window wnd = 0, VisualID vid = 0) + QGLXNativeContext(GLXContext ctx, Display *dpy = nullptr, Window wnd = 0, VisualID vid = 0) : m_context(ctx), m_display(dpy), m_window(wnd), |