]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/egl_android/glcontext.cpp
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / graphics / egl_android / glcontext.cpp
index 26a4063964ab937c436a2e11dd1c5e81c90dd2b6..ebdb8015dd5413868b2b8895aac8c456537fb7d0 100644 (file)
@@ -13,10 +13,10 @@ namespace Graphics {
 
 struct GLContext::Private
 {
-       EGLDisplay display;
-       EGLConfig config;
-       EGLSurface surface;
-       EGLContext context;
+       EGLDisplay display = EGL_NO_DISPLAY;
+       EGLConfig config = EGL_NO_CONFIG;
+       EGLSurface surface = EGL_NO_SURFACE;
+       EGLContext context = EGL_NO_CONTEXT;
 
        void attach(WindowHandle);
        void detach();