forked from enlightenment/efl
use pm instead of PAL_MODE_RGB666 when allocating colors
SVN revision: 39188
This commit is contained in:
parent
adab85b566
commit
725d8b4bfb
|
@ -299,7 +299,7 @@ evas_software_xcb_outbuf_setup_x(int w,
|
|||
evas_software_xcb_x_color_allocate(conn,
|
||||
cmap,
|
||||
vis,
|
||||
PAL_MODE_RGB666);
|
||||
pm);
|
||||
if (!buf->priv.pal)
|
||||
{
|
||||
free(buf);
|
||||
|
|
|
@ -268,7 +268,7 @@ evas_software_xlib_outbuf_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
|||
}
|
||||
/* FIXME: only alloc once per display+cmap */
|
||||
buf->priv.pal = evas_software_xlib_x_color_allocate(disp, cmap, vis,
|
||||
PAL_MODE_RGB666);
|
||||
pm);
|
||||
if (!buf->priv.pal)
|
||||
{
|
||||
free(buf);
|
||||
|
|
Loading…
Reference in New Issue