rem: attr.render_mode = RM_DITHER;
add: attr.render_mode = RDitheredRendering;
context: int main(int argc, char **argv){    RContextAttributes attr;    int visualID = -1;    ProgName = strrchr(argv[0],'/');    if (!ProgName)      ProgName = argv[0];    else      ProgName++;    dpy = XOpenDisplay("");    if (!dpy) {	puts("cant open display");	exit(1);    }    attr.flags = RC_RenderMode | RC_ColorsPerChannel;    attr.render_mode = RM_DITHER;    attr.colors_per_channel = 4;    if (visualID >= 0) {        attr.flags |= RC_VisualID;        attr.visualid = visualID;    }    ctx = RCreateContext(dpy, DefaultScreen(dpy), &attr);    if (!ctx) {	printf("could not initialize graphics library context: %s\n",	       RMessageForError(RErrorCode));	exit(1);    }    /* Here are the things we want to test */    testDraw();    testBevel();    drawClip();  /*  benchmark();*/    getchar();    return 0;}