summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-05-31 11:45:51 +0200
committerKristian Høgsberg <[email protected]>2011-05-31 15:13:36 -0400
commitaa87a938fb4cec30dad48642e8d12810e947bc8b (patch)
treef9edf3eae0e9158f8303cd1464f7815cf8345fd8 /src/egl/drivers
parent5bf6cc95c1e3dc01dde2bd91fc0bd4eb02cddd40 (diff)
egl_dri2: Fix usage of bool values
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index 1b75ffea0c5..1d6ce2ec49c 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -586,7 +586,7 @@ dri2_wayland_authenticate(_EGLDisplay *disp, uint32_t id)
struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
int ret = 0;
- dri2_dpy->authenticated = false;
+ dri2_dpy->authenticated = 0;
wl_drm_authenticate(dri2_dpy->wl_drm, id);
force_roundtrip(dri2_dpy->wl_dpy);
@@ -595,7 +595,7 @@ dri2_wayland_authenticate(_EGLDisplay *disp, uint32_t id)
ret = -1;
/* reset authenticated */
- dri2_dpy->authenticated = true;
+ dri2_dpy->authenticated = 1;
return ret;
}
@@ -647,7 +647,7 @@ drm_handle_authenticated(void *data, struct wl_drm *drm)
{
struct dri2_egl_display *dri2_dpy = data;
- dri2_dpy->authenticated = true;
+ dri2_dpy->authenticated = 1;
}
static const struct wl_drm_listener drm_listener = {