forked from enlightenment/efl
do not segv when no pallete.
spotted this bug when I disabled all converters in a config mistake :-) SVN revision: 41116
This commit is contained in:
parent
ebeee4b5ce
commit
728b003fee
|
@ -324,7 +324,8 @@ evas_software_xlib_outbuf_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
||||||
buf->priv.x11.xlib.depth,
|
buf->priv.x11.xlib.depth,
|
||||||
buf->priv.mask.r,
|
buf->priv.mask.r,
|
||||||
buf->priv.mask.g,
|
buf->priv.mask.g,
|
||||||
buf->priv.mask.b, buf->priv.pal->colors);
|
buf->priv.mask.b,
|
||||||
|
buf->priv.pal ? buf->priv.pal->colors: -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
evas_software_xlib_outbuf_drawable_set(buf, draw);
|
evas_software_xlib_outbuf_drawable_set(buf, draw);
|
||||||
|
|
Loading…
Reference in New Issue