[PATCH weston] compositor-x11: fix default output scale
Alexander Larsson
alexl at redhat.com
Thu May 23 04:35:15 PDT 2013
----- Original Message -----
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>
> Default output scale of 256 makes little sense. Actually this is a type
> mismatch between wl_fixed and int, probably a leftover from when the
> scale factor was proposed as a fixed point number.
>
> Scale 256 probably causes the Window creation to fail, but that actually
> leads to a segfault in Mesa libEGL later:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0 dri2_create_window_surface (drv=0x645060, disp=0x646610, conf=<optimized
> out>, window=<optimized out>, attrib_list=<optimized out>)
> at platform_x11.c:291
>
> 291 surf->SwapInterval = 1;
Ooops. Sorry about that. I guess i never tried to run without a configured output.
More information about the wayland-devel
mailing list