Revision d1af0e05 ui/vnc-enc-hextile.c

b/ui/vnc-enc-hextile.c
75 75
    has_fg = has_bg = 0;
76 76
    for (j = y; j < (y + h); j += 16) {
77 77
        for (i = x; i < (x + w); i += 16) {
78
            vs->send_hextile_tile(vs, i, j,
78
            vs->hextile.send_tile(vs, i, j,
79 79
                                  MIN(16, x + w - i), MIN(16, y + h - j),
80 80
                                  last_bg, last_fg, &has_bg, &has_fg);
81 81
        }
......
91 91
    if (!generic) {
92 92
        switch (vs->ds->surface->pf.bits_per_pixel) {
93 93
            case 8:
94
                vs->send_hextile_tile = send_hextile_tile_8;
94
                vs->hextile.send_tile = send_hextile_tile_8;
95 95
                break;
96 96
            case 16:
97
                vs->send_hextile_tile = send_hextile_tile_16;
97
                vs->hextile.send_tile = send_hextile_tile_16;
98 98
                break;
99 99
            case 32:
100
                vs->send_hextile_tile = send_hextile_tile_32;
100
                vs->hextile.send_tile = send_hextile_tile_32;
101 101
                break;
102 102
        }
103 103
    } else {
104 104
        switch (vs->ds->surface->pf.bits_per_pixel) {
105 105
            case 8:
106
                vs->send_hextile_tile = send_hextile_tile_generic_8;
106
                vs->hextile.send_tile = send_hextile_tile_generic_8;
107 107
                break;
108 108
            case 16:
109
                vs->send_hextile_tile = send_hextile_tile_generic_16;
109
                vs->hextile.send_tile = send_hextile_tile_generic_16;
110 110
                break;
111 111
            case 32:
112
                vs->send_hextile_tile = send_hextile_tile_generic_32;
112
                vs->hextile.send_tile = send_hextile_tile_generic_32;
113 113
                break;
114 114
        }
115 115
    }

Also available in: Unified diff