void cgthree_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b) { struct cgthree_softc *sc = v; bt_setcolor(&sc->sc_cmap, &sc->sc_fbc->fbc_dac, index, r, g, b, 0); }
void tcx_setcolor(void *v, u_int index, u_int8_t r, u_int8_t g, u_int8_t b) { struct tcx_softc *sc = v; bt_setcolor(&sc->sc_cmap, sc->sc_bt, index, r, g, b, 1); }