weston: Store use_pixman as `bool` type

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
dev
Thomas Zimmermann 6 years ago committed by Daniel Stone
parent f57774e112
commit ea54c2fda6
  1. 2
      libweston/compositor-drm.c
  2. 2
      libweston/compositor-headless.h

@ -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;

@ -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

Loading…
Cancel
Save