weston: Store use_pixman as bool type

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
This commit is contained in:
Thomas Zimmermann 2018-09-21 14:44:57 +02:00 committed by Daniel Stone
parent f57774e112
commit ea54c2fda6
2 changed files with 2 additions and 2 deletions

View File

@ -333,7 +333,7 @@ struct drm_backend {
bool universal_planes; bool universal_planes;
bool atomic_modeset; bool atomic_modeset;
int use_pixman; bool use_pixman;
bool use_pixman_shadow; bool use_pixman_shadow;
struct udev_input input; struct udev_input input;

View File

@ -40,7 +40,7 @@ struct weston_headless_backend_config {
struct weston_backend_config base; struct weston_backend_config base;
/** Whether to use the pixman renderer instead of the OpenGL ES renderer. */ /** Whether to use the pixman renderer instead of the OpenGL ES renderer. */
int use_pixman; bool use_pixman;
}; };
#ifdef __cplusplus #ifdef __cplusplus