forked from enlightenment/efl
do not segv when no pallete in xcb engine too.
SVN revision: 41122
This commit is contained in:
parent
44d66495ca
commit
324fd7b2ca
|
@ -366,7 +366,7 @@ evas_software_xcb_outbuf_setup_x(int w,
|
|||
buf->priv.mask.r,
|
||||
buf->priv.mask.g,
|
||||
buf->priv.mask.b,
|
||||
buf->priv.pal->colors);
|
||||
buf->priv.pal ? buf->priv.pal->colors : -1);
|
||||
}
|
||||
}
|
||||
evas_software_xcb_outbuf_drawable_set(buf, draw);
|
||||
|
|
|
@ -325,7 +325,7 @@ evas_software_xlib_outbuf_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
|||
buf->priv.mask.r,
|
||||
buf->priv.mask.g,
|
||||
buf->priv.mask.b,
|
||||
buf->priv.pal ? buf->priv.pal->colors: -1);
|
||||
buf->priv.pal ? buf->priv.pal->colors : -1);
|
||||
}
|
||||
}
|
||||
evas_software_xlib_outbuf_drawable_set(buf, draw);
|
||||
|
|
Loading…
Reference in New Issue