Project

General

Profile

Revision 132

changed function calls

View differences:

lab5.c
93 93
        return 1;
94 94
    };
95 95

  
96
    if (draw_rectangle(x, y, width, height, color)) {
96
    if (vg_draw_rectangle(x, y, width, height, color)) {
97 97
        if (vg_exit()) {
98 98
            printf("%s: vg_exit failed to exit to text mode.\n", __func__);
99 99
            if (free_memory()) printf("%s: lm_free failed\n", __func__);
......
193 193
                B = (GET_BLU(first) + (col+row)*step) % (1 << get_BlueMaskSize());
194 194
                color = SET_COLOR(R,G,B);
195 195
            }
196
            if (draw_rectangle(col*W,row*H,W,H,color)) {
196
            if (vg_draw_rectangle(col*W,row*H,W,H,color)) {
197 197
                if (vg_exit()) {
198 198
                    printf("%s: vg_exit failed to exit to text mode.\n", __func__);
199 199
                    if (free_memory()) printf("%s: lm_free failed\n", __func__);

Also available in: Unified diff