diff options
author | Eric Engestrom <[email protected]> | 2017-06-19 00:16:21 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-06-21 21:42:08 +0100 |
commit | 60f984262c4d4c3c3828eb2eec3dc07c63922ece (patch) | |
tree | 31fd68192734f70c9f8a14b9fa32a0f0dab9c035 /src/egl/drivers/dri2/platform_x11.c | |
parent | 17918a037242d04b1a455a2f7a0b869e7a568456 (diff) |
egl: turn boolean `int`s into `bool`s
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/platform_x11.c')
-rw-r--r-- | src/egl/drivers/dri2/platform_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index 74d3a164b6a..95e560a32a6 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -445,7 +445,7 @@ dri2_x11_process_buffers(struct dri2_egl_surface *dri2_surf, unsigned i; dri2_surf->buffer_count = count; - dri2_surf->have_fake_front = 0; + dri2_surf->have_fake_front = false; /* This assumes the DRI2 buffer attachment tokens matches the * __DRIbuffer tokens. */ @@ -462,7 +462,7 @@ dri2_x11_process_buffers(struct dri2_egl_surface *dri2_surf, * Note that EGL doesn't require that several clients rendering * to the same window must see the same aux buffers. */ if (dri2_surf->buffers[i].attachment == __DRI_BUFFER_FAKE_FRONT_LEFT) - dri2_surf->have_fake_front = 1; + dri2_surf->have_fake_front = true; } if (dri2_surf->region != XCB_NONE) |