build dither table for masks alwasy... even in depths > 16

SVN revision: 2606
This commit is contained in:
Carsten Haitzler 2000-05-06 19:37:23 +00:00
parent 01d14d7867
commit 306060052c
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ __imlib_NewContext(Display *d, Visual *v, Colormap c, int depth)
ct->r_dither = NULL;
ct->g_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;