summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/wayland/detect_prime_egl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linuxbsd/wayland/detect_prime_egl.cpp')
-rw-r--r--platform/linuxbsd/wayland/detect_prime_egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/wayland/detect_prime_egl.cpp b/platform/linuxbsd/wayland/detect_prime_egl.cpp
index 4bee32ae3a..4c97a80039 100644
--- a/platform/linuxbsd/wayland/detect_prime_egl.cpp
+++ b/platform/linuxbsd/wayland/detect_prime_egl.cpp
@@ -69,7 +69,7 @@ void DetectPrimeEGL::create_context() {
EGLConfig egl_config;
EGLContext egl_context = EGL_NO_CONTEXT;
- eglInitialize(egl_display, NULL, NULL);
+ eglInitialize(egl_display, nullptr, nullptr);
#if defined(GLAD_ENABLED)
if (!gladLoaderLoadEGL(egl_display)) {