egl: turn boolean `int`s into `bool`s
[mesa.git] / src / egl / drivers / dri2 / egl_dri2.c
index 020a0bc6394dc60d7558366c6db71887e1071d01..fd7584f7ab6f992a1464c1ed723fc875875dd735 100644 (file)
@@ -783,7 +783,7 @@ dri2_create_screen(_EGLDisplay *disp)
       return EGL_FALSE;
    }
 
-   dri2_dpy->own_dri_screen = 1;
+   dri2_dpy->own_dri_screen = true;
    return EGL_TRUE;
 }