forked from old/legacy-imlib2
build dither table for masks alwasy... even in depths > 16
SVN revision: 2606
This commit is contained in:
parent
01d14d7867
commit
306060052c
|
@ -180,6 +180,8 @@ __imlib_NewContext(Display *d, Visual *v, Colormap c, int depth)
|
||||||
ct->r_dither = NULL;
|
ct->r_dither = NULL;
|
||||||
ct->g_dither = NULL;
|
ct->g_dither = NULL;
|
||||||
ct->b_dither = NULL;
|
ct->b_dither = NULL;
|
||||||
|
__imlib_RGBA_init((void *)ct->r_dither, (void *)ct->g_dither,
|
||||||
|
(void *)ct->b_dither, depth, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ct;
|
return ct;
|
||||||
|
|
Loading…
Reference in New Issue